PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Saving from a DataGrid on a DataTable.RowChanged Event

Reply

Saving from a DataGrid on a DataTable.RowChanged Event

 
Thread Tools Rate Thread
Old 25-12-2006, 10:32 PM   #1
=?Utf-8?B?VGhvbWFzIENvcmNvcmFu?=
Guest
 
Posts: n/a
Default Saving from a DataGrid on a DataTable.RowChanged Event


In Framework version 1.0, which my client is constrained for budgetary
reasons to use, is it possible to save to an Access database a row in a
DataGrid when the user navigates to the next row--as Access itself behaves?
Or is it necessary to use a "Save" button? I've observed that the HasChanges
property of the underlying DataSet is False in the DataTable.RowChanged event
but True in a btnSave_Click event. Apparently--please correct me if I have
the wrong impression--.Net does some additional work on the DataSet after the
RowChanged event before the next user action. I don't know of any other
events that might be fired by navigating to the next row.

Thank you for any insights on this.

Tom Corcoran
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off