datatable dt =new datatable(); //suppose it have more then 10 records fetched from database dt.WriteXml("MyXMLFile");// writes the result to xml file var myXslTrans = new XslCompiledTransform(); myXslTrans.Load("myXSLFile"); myXslTrans.Transform("MyXMLFile", "TohtmlFIle");
System.Diagnostics.Process PROC = new System.Diagnostics.Process(); PROC.StartInfo = new System.Diagnostics.ProcessStartInfo("TohtmlFile");// i am assiging the html file to be loaded in browser, which gives me only the headers attributes. PROC.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)