how best to edit data in a data grid

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: T.Jackson (tj_at_mymail.com)
Date: 02/06/04


Date: Fri, 6 Feb 2004 16:34:20 +0600

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)

-- 
Besty Regards,
TJ


Relevant Pages

  • Re: Hardware Recommendations
    ... Apple Cinema 23" Display ... Apple keyboard + Mac OS X ... You also didn't mention how much video editing you think ...
    (rec.video.production)
  • Re: Need help selecting controls for app
    ... When editing Level 3, the user doesn't get the whole picture unless ... > Level node the DataGrid can be populated with the attributes of the Level. ... So a display might look ... I don't want to have to scroll to see the ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Get Confirm response in code
    ... need to display a confirmation message, if another user is editing the ... one custom confirm form I created but the problem is that statements ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Tk::MusicSheet... update
    ... Addition of directions, comments, etc ... 1) Display of items onscreen.. ... I want to display music for editing only... ... be able to have small staves and large staves. ...
    (comp.lang.perl.modules)
  • Data access errors after upsizing from Jet
    ... I upsized my backend to SQL Server. ... Retrieval of data for display in my forms ... However on some of the forms where editing and adding of ...
    (microsoft.public.access.adp.sqlserver)