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 VelayuthamRank #413 · 6K reputationPosted Jun 1, 2011, 4:05 AM EDT
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.
Manikavelu VelayuthamRank #413 · 6K reputationPosted Jun 1, 2011, 4:06 AM EDT
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.
Anil KumarRank #367 · 6.8K reputationPosted Jun 1, 2011, 4:41 AM EDT
Anil KumarRank #367 · 6.8K reputationPosted Jun 1, 2011, 10:24 PM EDT
Anil KumarRank #367 · 6.8K reputationPosted Jun 21, 2011, 2:23 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 21, 2011, 11:04 AM EDT
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?