Gridview sorted but the select button references the wrong row – Asp.net
In my GridView I set AllowSorting="true" and obviuously the view gets sorted upon the column clicked. After this event, the select button besides each row references the row displayed before the sorting event and not the actual one. A method…