[Resolved] GridView - manually set SortExpression
I need to manually set the sort expression for a GridView. I need to retrieve the boundfield name for column = 0
Session("SortExpression") = GridView1.????? (name of the boundfield)
The name of the boundfiled is "CompanyJobID" and if I do this
Session("SortExpression") = "CompanyJobID" it works fine.