It seems like there\'s no way to manipulate the columns of a Gridview if AutoGenerateColumns = true. Here\'s my scenario:
I\'ve got a generic GridView that displays
Brendan's answer reminded me I had this lying around.. Good for formatting.
GridView...
Code Behind...
Sub myGridView_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
' Display the data in italics.
e.Row.Cells(1).Text = "" & e.Row.Cells(1).Text & ""
End If
End Sub