Last post Nov 08, 2010 03:47 AM by Qin Dian Tang - MSFT
Nov 04, 2010 04:13 AM|himchr|LINK
I have xml data in database, which I am accessing through dataset, but whenever I try to run it is doesn't work, I am using the following code:
private static void DataSetXML(DataSet ds)
XmlDataDocument xmlDoc = new XmlDataDocument(ds);
XmlWriter writer = XmlWriter.Creat(@"D:\Code\VS2010GridView\GridView\books1.html");
// Create and load the transform with script execution enabled.
XslCompiledTransform transform = new XslCompiledTransform();
XsltSettings settings = new XsltSettings();
settings.EnableScript = true;
transform.Load(@"D:\Code\VS2010\GridView\GridView\XSL\DataSetXML.xslt", settings, null);
// Execute the transformation.
How can I solve the above mentioned problem?
Nov 08, 2010 03:47 AM|Qin Dian Tang - MSFT|LINK
It is the common way:
What is your problem?