Click here to Skip to main content
15,917,642 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm making a web page using aspx, what i want is to add into a gridview about a thousand records (from a query), then i want those records to be editable, i add a column in which i add a command field, then i put in every cell of that column the word edit, which makes the row editable , but when i update a record the page always reload, which makes it VERY SLOW, is there a faster way to do this?

Thanks a lot
Posted

1 solution

Yes - forget the idiocy of having 1000 records on a single web page. Make it paged, and write the code to only load the records you need. Watch your viewstate, if it's massive, then you're loading too much data.
 
Share this answer
 
Comments
eldonnadie 9-Aug-11 20:47pm    
Thanks a LOT! i paged it and now it works fine

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