ASP.NET 2.0 C#: Sorting GridView by Code
Posted on 2007-08-06
i have a gridview control that is binded using DataSet object that is filled by code.
my gridview has a template fields(for example i use template field to display country name instead of countrycode)
I need to apply sorting on the gridview, and when click on the template field i want to sort using the displayed text not the original code that is used while binding.
i don't know how to do that.
any comment will very helpful