net web application for social networking. I am using VS2008 and sqlserver 2008[.net 3.5]
In this website we are using 3-tier architecture. We pass businessobject to the UI.开发者_如何学运维
My listview is binded with object data source. Now I want to implement sorting in listview. Can anyone please suggest me the best method to do sorting in ListView with Object data source
Add a parameter to the method of your business layer that gives you the data. This parameter will tell it how to sort the collection.
The ObjectDataSource object support property to set the member on which the sort must be done.
精彩评论