How can I make a program for a button, which when I press it will show a direcoty to choose which .xml file I want to load. Then display the information to datagridview....Thanks a lot.
I made a funciton like this :
dataGridView1.AutoGenerateColumns = true
openFile.Filter =
openFile.InitialDirectory =
openFile.ShowDialog();
xmldata.DataSet.ReadXml(" .xml")
dataGridView1.DataSource = xmldata.DataSet;
dataGridView1.DataMember="ID"
whi it does not show anything...thanks

Satyapriya NayakRank #47 · 31.5K reputationPosted May 1, 2013, 11:44 PM EDT
Emma Emma80 reputationPosted May 2, 2013, 12:26 AM EDT
Thanks for your link. It is a good reference.
I have solved it by synchronization dataset and XmlDataDocument.
Thanks a lot!
BR
Emma