G
Guest
I'm sure this question has been beat to death however, I have been unable to
find a reasonable reply.
My problem is this...
While working with the DataGrid control I noticed the DataTable RowChanged
event is being fired whenever I add a new row in the DataGrid however, the
new row I just added to the DataGrid has not been committed to the DataTable
when the RowChanged event is fired. I can see the Row and it's state is
"Added" but it isn't in the DataTable.
The reason I need it to be is I want to perfrom an update to the DataAdapter
as soon as a new record is added to the DataGrid and I am unable to do this
since the DataTable doesn't contain the newly added row. How can I get the
row to be in the DataTable at the time RowChanged event has been called? Is
there a way to force the commit?
find a reasonable reply.
My problem is this...
While working with the DataGrid control I noticed the DataTable RowChanged
event is being fired whenever I add a new row in the DataGrid however, the
new row I just added to the DataGrid has not been committed to the DataTable
when the RowChanged event is fired. I can see the Row and it's state is
"Added" but it isn't in the DataTable.
The reason I need it to be is I want to perfrom an update to the DataAdapter
as soon as a new record is added to the DataGrid and I am unable to do this
since the DataTable doesn't contain the newly added row. How can I get the
row to be in the DataTable at the time RowChanged event has been called? Is
there a way to force the commit?