DataSet1 ds = new DataSet1(); ds.ReadXml("file.xml"); |
but the dataset seems to be empty, what am I doing wrong
Also, I can't find a way to append a TableAdapter to the scheme from the designer
I'm using Beta 2 obviously.
DataSet1 ds = new DataSet1(); ds.ReadXml("file.xml"); |
Filling DataSet?
BadrK
bpervi
New XMLs weren't pointing to the XSD scheme, thats why they weren't properly readed...
Sorry *embarassed*
Newborn
did you try this
DataSet ds = new DataSet();
ds.ReadXml("test.xml");
dataGridView1.DataSource = ds.Tables[0];