views:

45

answers:

1

Hi I have datatype for a field recently converted to xml from varchar(MAX) in SqlServer DB. I want to set this type for the corresponing field in the data table, but it has no option for xml. Any suggestion ?

Thanks

using VS 08 and SQL SERVER 08

alt text

+1  A: 

The SQL type xml will convert happily enough to System.String. I'd use that.

Rob Farley
Thanks mate it works, hadn't used before, was confused.
Asad Butt
No problem. Happy to help. :)
Rob Farley