editable datagrid

nitin

Member
Joined
Mar 29, 2005
Messages
9
Programming Experience
Beginner
hi gurus.pls help.


i need to display a datagrid which is editable in which i can add new rows,delete a existing record and update existing records.but all changes made must be updated in the original table in database .

like in asp.net we have a delete button,edit button,addnew record button kind of things.the same thing i need to do in vb.net. i should have buttons to add new row ,mechanism for deleting a row and updating cahnges made to original table.



pls give me a template kind of thing or a example or code to do this thing.



its urgent!!!!!!!!
 

mzim

Well-known member
Joined
Jun 3, 2004
Messages
187
Location
Other side of the rock
Programming Experience
1-3
you can delete,add,edit a cell in a datagrid if the property readonly are not set to true.
use dataadapter to retrieve data from database,fill the data to your datatable and bind the datatable to the datagrid and use commandbuilder if you want to update your table.
 
Top Bottom