Hi...
actually i am working on a performance issue,i have a 1000 record in a gridview in a web page and i am allowing the editing of the data and when a save button is clicked i want to update the records in the database again using a stored procedure is there another way to update my database without fetching each row of the gridview in the update process??
i mean can i just pass a datatable or something to the sqlserver in the stored procedure parameters and then it updates it self ????
thanks in advance
Loading

Satish BhatPosted Aug 17, 2011, 8:44 AM
2] Convert the grid data into csv file and use BULK INSERT SQL Query. (REF)
3] Convert the grid data into xml and follow this
I found a good example here which is similar to your requirement.
Jiteendra SampathiraoPosted Aug 18, 2011, 6:29 AM
Satish BhatPosted Aug 18, 2011, 5:23 AM
Morcos AdelPosted Aug 18, 2011, 5:02 AM
it really helped me out..