Build the DataTable.. add the Table to a dataset, then Bind the DataSet's
datatable to the grid.., the below statement has to help you then....
<dataTbl>.DataSet.HasChanges(DataRowState.Modified ); // modified rows..
<dataTbl>.DataSet.HasChanges(DataRowState.Added) ; // modified rows..
read MSDN for more help on this property...
Vijay
"Joe" <hc******@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
Hi
I am building a datatable manually and putting in a grid
I would like to edit a row then determine that the table has changes and
needs to be saved
The problem I am having is that all the rows in the datatable have a state
of "added" and when I change
a row it still has a RowState of Added
Is there some other way to detect that a row was changed after it was
added to a table???
Thanks