我现在对数据库有问题。数据库中有一个BLOB字段。BLOB是一个XML。在这个BLOB中,我必须更新XML。到目前为止,我的方法如下: String sql = "SELECT data FROM objstore WHERE obj_id=? AND namespace_int=? AND type=? AND name=?";
..ctor(String )在Microsoft.Data.SqlXml.SqlXmlCommand..ctor(String(Microsoft.Data.SqlXml.SqlXmlCommand..ctor(String)的Microsoft.Data.SqlXml.SqlXmlCommand..ctor(String(字符串用户名)。() at Microsoft.Data.SqlXml.SqlXmlCommand.construct() at Microsoft.Data.SqlXml.SqlX
我有一个应用程序,它使用SQLXML访问数据库上的数据。我们让它在Windows 2003服务器和SQL server 2005上运行。现在,客户端希望将其安装在Windows 2008和SQL Server 2008上,但我们收到的错误如下:
Microsoft.Data.SqlXml.Common.UnsafeNativeMethods.未注册Microsoft.Data.SqlXml.SqlXmlException:类未注册-> System.Runtime.InteropServices.COMException (0x800
我只是尝试使用C#调用一个存储过程(SQL Server2008),并将XMLDocument传递给一个采用SqlDbType.Xml数据类型的存储过程参数。我收到错误:无法将参数值从XmlDocument转换为字符串。下面是代码示例。如何将XML文档传递给需要XML数据类型的存储过程?谢谢。 //Load the the document with the last book node.
XmlTextReader reader = new XmlTextReader(@