Hello,
Can an ObjectDataSource have multiple SortExpression's?
Thanks, XaiSoft
Hello,
Can an ObjectDataSource have multiple SortExpression's?
Thanks, XaiSoft
Well, you can have only 1 sort expression at any given time, but you can sort on multiple fields:
.Sort = "column1 asc, column2 asc"
This might not directly answer your question I tend to do all presorting on my physical objects before binding them to anything taking advantage of List<>.Sort or LINQ .OrderBy other than that I will leave all sorting up to the client side like using JQuery to sort the physical html table.