Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5979445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:39:36+00:00 2026-05-22T21:39:36+00:00

I have a typed dataset which I designed using the dataset designer and a

  • 0

I have a typed dataset which I designed using the dataset designer and a SQL 2005 DB. I used the SQL server explorer and simply dragged my tables into the designer.

One of the columns in my table is an XML field, which the designer sets as a System.String type. There is no option for an XML data type in the typed dataset designer.

I am adding a record to this dataset, and assigning an XML string to the XML (string) column.

When I attempt to update SQL using the tableAdapterManager .UpdateAll method, it produces an error: “Operand type clash: sql_variant is incompatible with xml”

I have no clue how to go about dealing with this one. I can’t find anything on the web about this, and it seems like a very simple and common thing to do. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:39:37+00:00Added an answer on May 22, 2026 at 9:39 pm

    I found the answer for my own question.

    The table that was being updated existed in a second database on the same SQL server (there are many tables in the dataset, but this one does not exist in the main database).

    Somebody had added “databasename.dbo.tablename” to the INSERT command expecting it to update on the other database. Apparently, SQL server isn’t fond of this when dealing with XML types.

    I am going to create a stored proc to handle the insert on this table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We use calculated columns in a few SQL Server 2005 tables which always return
I have created a strongly typed dataset in the VS 2005 Dataset Designer. There
I have a problem with binding data using BindingSource, typed dataset and DataGridView. My
I am developing an application using MVC Preview 5. I have used typed views.
I have a strongly typed DataTable created with the VS2005/VS2008 DataSet designer. The table
I've got a bunch of strongly typed DataSet that each have two tables. One
I have a strongly-typed MVC View Control which is responsible for the UI where
I want a strongly-typed DataSet along with designer TableAdapters, but Visual Studio's DataSet designer
I have a typed dataset in my project. I would like to populate a
In Windows Forms (.NET 2.0, Visual Studio 2005 SP1) : I have a typed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.