How to Add/Delete/Update multiple records in DB?
Hi All,
In a Master Details form, a user can modify multiple rows in the details grid. e.g. in a typical Invoice - Invoice Details scenario, where Invoice Details are shown in a grid, the user may add some rows, delete some rows and modify some rows.
My Q. is -- how to reconcile these changes to the database ?
Because uptil now, I was using the DataAdapter and setting various parameters (like InsertCommand.Parameters.Add or UpdateCommand.Parameters.Add ...) but by this, we can only add / update / delete a single record.
Please help.
Thanks and Regards,
Manoj Waikar.
|