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 XML Version = "1.0" encoding = "gb2312"?> .. Xsl: template> xsl: stylesheet>