阅读背景:

将C#2.0 System.Data.SqlTypes.SqlXml对象转换为System.Xml.XmlNode

来源:互联网 

I seem to always have problems with converting data to and from XML in C#. It always wants you to create a full XMLDocument object even when you think you shouldn't have to. In this case I have a SQLXML column in a MS SQL 2005 server that I am trying to pull out and push into a function that requires an XMLNode as a parameter. You would think this would be easy, but outside of converting it to a string and creating a new XMLNode object I cannot figure out the right way to do it. I seem to always have problems with converting




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: