Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i need to sort and pagging the gridview while click the column name(data's of the gridview are taken from the database)

i googled it but i cant find the code like taking data from database and sorting
Posted

 
Share this answer
 
Comments
VJ Reddy 26-Apr-12 13:56pm    
Good references. 5!
Abhinav S 27-Apr-12 2:30am    
Thanks!
Monjurul Habib 27-Apr-12 3:13am    
5!
Abhinav S 27-Apr-12 3:55am    
Thank you.
 
Share this answer
 
Comments
vaibhav mahajan 25-Apr-12 5:09am    
again 5 prasad..!!..u r awesome..!!
Prasad_Kulkarni 25-Apr-12 6:28am    
Thank You vaibhav.
Prasad_Kulkarni 25-Apr-12 6:29am    
BTW do you know GIT[^]
Abhinav S 27-Apr-12 2:30am    
5. Good set of links.
Prasad_Kulkarni 27-Apr-12 2:34am    
Thank You! :)
 
Share this answer
 
Comments
VJ Reddy 26-Apr-12 13:56pm    
Good reference. 5!
sravani.v 27-Apr-12 2:37am    
Thank you VJ
Hi,

Refer this for sorting:
http://aspalliance.com/666_Extending_the_GridViews_Sorting_Capabilities.all[^]

And this for Paging:
http://www.dotnetspider.com/resources/7634-GridView-Paging-Using-C.aspx[^]

If you are loading large data in your GridView you should use Custom Paging in your GridView:
http://www.4guysfromrolla.com/articles/031506-1.aspx[^]
 
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