D Dmitriy Lapshin [C# / .NET MVP] Jul 27, 2004 #2 Hi, Get the reference to the instance of the row in question, and then query the row instance's RowState property.
Hi, Get the reference to the instance of the row in question, and then query the row instance's RowState property.
S Shiva Jul 27, 2004 #3 Use the RowState property of the specific table's rows in the dataset. How to get dataset row state? new/modified/deleted?
Use the RowState property of the specific table's rows in the dataset. How to get dataset row state? new/modified/deleted?
J Joyjit Mukherjee Jul 27, 2004 #4 Hi, Rowstate applies to individual rows, not datasets. To get the rowstate of a particular row whose state is modified, use if (dsHolders.Tables[0].Rows[3].RowState == DataRowState.Modified) { // do whatsoever you want } Regards Joyjit
Hi, Rowstate applies to individual rows, not datasets. To get the rowstate of a particular row whose state is modified, use if (dsHolders.Tables[0].Rows[3].RowState == DataRowState.Modified) { // do whatsoever you want } Regards Joyjit