Hi!
I have some problems with my typed dataset, the dataset contains several datatables and the problem occurs when i try to load the dataset with the ReadXml function. The problem is that some of the tables won't load properly. For example:
MyDataSet ds = new MyDataSet;
ds.ReadXml("ds.xml");
The table table1 in ds will be empty, even if the xml-file contains data that belongs to table1.
MyDataSet ds = new MyDataSet;
ds.table1.ReadXml("table1.xml");
Doesnt work either, but this will work:
MyDataSet ds = new MyDataSet;
MyDataSet.table1 tb1 = new MyDataSet.table1();
tb1.ReadXml("table1.xml")
ds.table1.Merge(tb1);
Any ideas what the problem is?
APe
I have some problems with my typed dataset, the dataset contains several datatables and the problem occurs when i try to load the dataset with the ReadXml function. The problem is that some of the tables won't load properly. For example:
MyDataSet ds = new MyDataSet;
ds.ReadXml("ds.xml");
The table table1 in ds will be empty, even if the xml-file contains data that belongs to table1.
MyDataSet ds = new MyDataSet;
ds.table1.ReadXml("table1.xml");
Doesnt work either, but this will work:
MyDataSet ds = new MyDataSet;
MyDataSet.table1 tb1 = new MyDataSet.table1();
tb1.ReadXml("table1.xml")
ds.table1.Merge(tb1);
Any ideas what the problem is?
APe