|
Store the xml file in the sqlserver data, the data type of the field is xml
Xml xdItem = new Xml ();
xdItem.Document = GetTree ();
object [] obj = {null, xdItem};
Database.ExeProcNonQuery ("stored procedure", obj);
Prompt error "Failed to convert parameter value from xml to String"
Everyone help, how to save xml file into sqlserver data? |
|