T
T.Jackson
Hi guys,
I want to display the data of a table in a datagrid in one form,
& enable the user to edit the details of a particular record in another
form.
I want the following features,
1. display the data in a grid in one form
2. enable editing the data for a row in another form
3. checking if changes have been made, reverting the changes, saving the
changes
when editing the data of a particular record
(can use the revertchanges, acceptchanges & rowstate of the Row object).
Now how do go about doing this?
1. Pass the dataset & the row position to the next form,
2. bind the data
3. set the row position
4. then use the rowstate, rejectchanges and acceptchanges method of the row
object.
Is this the best (standard) way of editing data in a grid?????
Please do let me know,
as i'm new to vb.net & would like to adopt the best techniques from the
start...
(NOTE : Here I want more help in the architecture rather than coding)
I want to display the data of a table in a datagrid in one form,
& enable the user to edit the details of a particular record in another
form.
I want the following features,
1. display the data in a grid in one form
2. enable editing the data for a row in another form
3. checking if changes have been made, reverting the changes, saving the
changes
when editing the data of a particular record
(can use the revertchanges, acceptchanges & rowstate of the Row object).
Now how do go about doing this?
1. Pass the dataset & the row position to the next form,
2. bind the data
3. set the row position
4. then use the rowstate, rejectchanges and acceptchanges method of the row
object.
Is this the best (standard) way of editing data in a grid?????
Please do let me know,
as i'm new to vb.net & would like to adopt the best techniques from the
start...
(NOTE : Here I want more help in the architecture rather than coding)