|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
very strange behavior of the method GetChanges(...) from the DataSet classi'm using a typed DataSet called myDs. This dataset has 2 Tables, Table1 and Table2. i have created a DataSet like this: myDs dsOld = new myDs(); //here i populate the 2 tables ....... //and then call the method to get the added rows myDs dsNew = (myDs)dsOld.GetChanges(DataRowState.Added); at this point on dsNew i have only the added rows of Table1 instead Table2 is set to null.So, the method returns only the rows of 1 table (Table1). i have debugged the code and i see that the both tables of the dataset dsOld are full of rows that have the rowstate = added. somebody can explain me whats the problem ? it's seem like a bug E. |
|||||||||||||||||||||||