While I am running this code to retrieve data from XML to a dataGridview control it, doesn't retrieve data and shows an error "Can not find table 0"
code is as :-
private void button1_Click(object sender, EventArgs e)
DataSet ds = new DataSet();
dataGridView1.DataSource = ds.Tables;
what is the reason behind it I can't find. Please help.
[Edit]Code block formatting added[/Edit]
Edited 25-Jun-13 6:51am
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)