跳转到主内容
极星编程网:以代码为星,赴技术山海!

获取mssql的xml返回结构的方法

数据库在时回加for xml auto 调用方法
SqlCommand SqlComm= new SqlCommand("Psp_ShowMarkerPRoduct",Db.SqlConn); XmlReader Xr= SqlComm.ExecuteXmlReader(); XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(Xr); Xml1.Document=xmlDoc; SqlComm.Dispose();
一定要生成xmldoc对象 否则系统提示错误!呵呵  这个该死的错误 困惑了我好久 xsl文件
...
以上就是获取mssql的xml返回结构的方法的内容,更多相关内容请关注PHP中文网(www.php.cn)!

相关文章