datla Posted January 22, 2007 Share Posted January 22, 2007 I coding in ASP.Net 2.0I using GridView to view table data.My table data include 60 rows.GridView view 10 rows per page.I want sorting dat for only page view.example: I view page 1 in 6 page.I want sorting only page 1. Do not sorting data in 5 page other.can you help me?thanks. Link to comment Share on other sites More sharing options...
xpriens Posted January 22, 2007 Share Posted January 22, 2007 Couldn't get u exactly.......u wanna sort the data in only a single page.....not the entire Table data....For this, u need to get the data in hand first, sort it and then add it to the GridView......in a way, before Binding your data, just sort it out.,.... Link to comment Share on other sites More sharing options...
aspnetguy Posted January 22, 2007 Share Posted January 22, 2007 you would have to do this outside the gridview control. using the builtin sdorting of the contorl will sort all data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now