I'm working with VisualStudio and C#, and I'll try to explain the problem...
I've built a custom class called "User.cs" that contains only Properties
with set and get methods (ex: FirstName, LastName,...), and another
custom class "UserCollection .cs" that is simply a list<User>.
If I need to show a list of Users, simply I bind a gridview with a
UserCollection and all works fine... until I try to make a sorting of
the gridview...
Is it possible to sort a gridview binded with custom class collection,
or I've no choice but to use an ObjectDataSourc e?
Thanks
MAX
I've built a custom class called "User.cs" that contains only Properties
with set and get methods (ex: FirstName, LastName,...), and another
custom class "UserCollection .cs" that is simply a list<User>.
If I need to show a list of Users, simply I bind a gridview with a
UserCollection and all works fine... until I try to make a sorting of
the gridview...
Is it possible to sort a gridview binded with custom class collection,
or I've no choice but to use an ObjectDataSourc e?
Thanks
MAX
Comment