i need to display data in grid-view or list-view form more than one XML files this XML files have the same schema
the second issue this xml files generated Automatically by user i mean if the user open any request on the system the XML file created on specific folder so
i need to refer to this path no for specific XML file
this is my code and its work in windows application but i cant use web application to read from multi XMl files
Appreciate any help :)
Code
DataSet ds1 = new DataSet();Code
ds1.ReadXml(@"c:\temp\test.xml");Code
DataSet ds2 = new DataSet();Code
ds2.ReadXml(@"c:\temp\test.xml");Code
ds2.Tables["Product"].Merge(ds1.Tables["Product"]);Code
dataGridView1.DataSource = ds2.Tables["Product"];
Answers
Know the answer? Post it. Somebody with the same question will find it here.