阅读背景:

使用XML数据类型调用存储过程

来源:互联网 

I am simply trying to call a store procedure (SQL Server 2008) using C# and passing XMLDocument to a store procedure parameter that takes a SqlDbType.Xml data type. I am getting error: Failed to convert parameter value from a XmlDocument to a String. Below is code sample. How do you pass an XML Document to a store procedure that is expecting an XML datatype? Thanks.I am simply trying to call a store procedure (S




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

分享到: