I\'m trying to write a small method to loop through and find a GridView Column by its Index, since it can change position based on what might be visible.
GridView
In case if you need a column itself and not just its index you can use some Linq magic:
DataControlField col=GridView1.Columns.Cast().First(c => c.HeaderText == "Column_header")