| Author: seema 15 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
Hi,
1. Call Fill on a TableAdapter or DataAdapter to populate a DataTable. 2. Bind the DataTable to your grid. 3. Add a new row to the DataTable with the data from your TextBoxes, which will automatically update the grid. 4. Call Update on a TableAdapter or DataAdapter to save the changes from the DataTable to the database.
|
| Author: Alwyn 19 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
ok, i understood the cause of the error;
reason is, in the click event, u r loading data into dataset and binding it to the grid. declare the dataset as global, this will work
Thanks & Regards, Alwyn. Jesus saves! The rest of us better make backups.
|