Hi....
I am using 3 tier architecture i want a fucntion to pass grdiview rows to Data access layer and save it to a table in SQL Server 2005 Express edition.
Can anyone give an idea to save each row without opening connection at each time. Here my problem is if i have 500 rows , 500 times it is opening connection in Data access layer........
Thanks and Regards
Sankar
[email protected]
Pass GridView Rows to SQL Database in one postback.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Naresh AvariRank #2,678 · 520 reputationPosted Jul 26, 2012, 1:27 AM EDT
I think this will help you to get some idea to pass gridView rows in xml format to your dataaccess layer...
http://weblogs.asp.net/manojkdotnet/archive/2010/01/24/bulk-update-using-gridview-and-sql-server-xml.aspx
sankar nandakumaran20 reputationPosted Jul 26, 2012, 4:01 AM EDT