|
-
Oct 20th, 2007, 09:12 AM
#1
Thread Starter
Member
[RESOLVED] GridView's sort function
Hi, I'm trying to do this:
I am working on web app project. I'm using visual studio 2005, .net framework 2.0.
On Business Logic Layer (BLL), I stored the sql query result in UserCollection (UserCollection is a collection of User object which inherits the generic Collection class, User object is a class defined by me). Then passing this UserCollection to Presentation Layer.
On Presentation Layer, I bind this UserCollection to a GridView. I enabled Sorting on GridView. I defined the SortExpression for the column that I want to sort via GridView's SmartTag.
My question is, when I run the application, clicking on the GridView's column header, it will not sort the result. Why is it so? How can I make it able to sort?
Kindly advice in details. Thank you!!!
Last edited by thatzlim; Oct 29th, 2007 at 10:27 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|