EDN Admin
Well-known member
I have a question regarding the new XML DataType in SQL Server 2005. Lets say I have a XML Schema. I use the XSD to generate a set of C# classes, for Serialization/Deserialization purposes. I also use the same XSD to create a XML data column in a database table in SQL Server 2005. When I created a data source and dataset in VS.NET 2005, the dataset created a string type for the XML column. Sure, I can manually add codes to deserialize the XML string to a C# object using the binding class I generated earlier, but I would like to know if theres a simpler way to do that -- is it possible for me to automatically bind the XML column in the dataset to the binding class?
Any help would be highly appreciate.
On a separate note, Ive been trying to find an article that introduce the best practice of using the new XML data type in SQL Server 2005 with Visual Studio 2005. I found a lot of articles that talk about the XML data type, and articles that talk about the new .NET XML features, but I couldnt find an article that talk about the best way to use VS.NET 2005 with the new XML data type. Will anyone in MS consider writing one?
Thanks,
PixelSlave
View the full article
Any help would be highly appreciate.
On a separate note, Ive been trying to find an article that introduce the best practice of using the new XML data type in SQL Server 2005 with Visual Studio 2005. I found a lot of articles that talk about the XML data type, and articles that talk about the new .NET XML features, but I couldnt find an article that talk about the best way to use VS.NET 2005 with the new XML data type. Will anyone in MS consider writing one?
Thanks,
PixelSlave
View the full article