Please tell me the best recommended approach for Bulk Insert/Update in asp.net GridView.
I have a page where I am recording the order details and have grid to get line-of-items. Items are get added to a grid. I want to save this (order header details with many line of items) on clicking save.
Loading

Manikavelu VelayuthamPosted Jun 1, 2011, 8:05 AM
http://www.builderau.com.au/program/sqlserver/soa/Passing-table-valued-parameters-in-SQL-Server-2008/0,339028455,339282577,00.htm
it has various examples to demonstrate the usage.
Pradeep ChandrakerPosted Jun 21, 2011, 3:04 PM
You have other option like BulkCopy and passing xml string to stored proc. But the option @Manikavelu suggested is better one.
If you have specific question please let me know?
Anil KumarPosted Jun 21, 2011, 6:23 AM
Anil KumarPosted Jun 2, 2011, 2:24 AM
Anil KumarPosted Jun 1, 2011, 8:41 AM
Manikavelu VelayuthamPosted Jun 1, 2011, 8:06 AM
http://www.builderau.com.au/program/sqlserver/soa/Passing-table-valued-parameters-in-SQL-Server-2008/0,339028455,339282577,00.htm
it has various examples to demonstrate the usage.