Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a GridView which adds Customers from the GridView itself. I am using the standard ASP.Net DataGrid. My question is, is there any way to insert all DataRows from a GridView to database when paging is used?

And i am using ADDButton_Click Event to insert all rows.
Posted
Updated 22-Jan-15 2:33am
v2
Comments
Nathan Minier 22-Jan-15 7:10am    
Well, there's 2 real answers for this: First is to use custom client-side paging so that the page data is treated by the server as one table.

Second is to track changes, and only insert those changes. That's a better move IMO.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900