S
Sharon
Hello All,
I have a gridview control in webform which is dynamically populated on
page startup with a query. I was trying to change the header text for
the columns and also set wrap to false. i have four columns in
gridview. Any suggestions guys
This is what i used but i keep getting error
Private Sub changestyle()
GridView1.Columns(1).HeaderText = "First Name"
End Sub
Error
Index was out of range. Must be non-negative and less than the size of
the collection.
Parameter name: index
I have a gridview control in webform which is dynamically populated on
page startup with a query. I was trying to change the header text for
the columns and also set wrap to false. i have four columns in
gridview. Any suggestions guys
This is what i used but i keep getting error
Private Sub changestyle()
GridView1.Columns(1).HeaderText = "First Name"
End Sub
Error
Index was out of range. Must be non-negative and less than the size of
the collection.
Parameter name: index