How to get the MSSQL XML return structure

xiaoxiao2021-03-05  21

Database Time to add for XML Auto

Calling method SqlCommand SqlComm = new SqlCommand ( "Psp_ShowMarkerProduct", Db.SqlConn); XmlReader Xr = SqlComm.ExecuteXmlReader (); XmlDocument xmlDoc = new XmlDocument (); xmlDoc.Load (Xr); Xml1.Document = xmlDoc; SqlComm.Dispose ();

Be sure to generate an XMLDoc object otherwise the system prompts an error! Oh, this damn mistake is confused, I have been a long time.

XSL file ..

转载请注明原文地址:https://www.9cbs.com/read-38975.html

New Post(0)