Hello,
I am sorting a GridView bind to a ananymous type.
protected void GridView1_Sorting(object sender, GridViewSortEventArgs e)
{
List<object> lb = (List<object>)ReturnAnony(); // Not working
// ?? What to write here
}
object ReturnAnony()
{
var anony = // I create the ananymous type and return
return anony;
}