Click here to Skip to main content
15,908,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
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"); 
//TohtmlFile is a html file to which i am storing the result of transformed xml. after debuging at this point when i check my html file it has the code only for headers, there is no data details.

C#
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();

problem is that it only shows headers, data is not shown in webbrowser. plz help needed
Posted
Updated 30-Oct-14 22:43pm
v4
Comments
Maciej Los 31-Oct-14 2:58am    
Please, be more specific and provide more details about your issue.
Abdullah Kundi 31-Oct-14 4:12am    
now check please and give any feedback

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900