Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Can't access Columns with AutoGenerateColumns=true
posted

I have 3 bands with AutoGenerateColumns=true and when i try to format the header text of column i got a error.

I try both Way with no succes:

grid.GridView.Columns("id").Header.Text = "N°"

OR

grid.Columns("id").Header.Text = "N°"

I got this error : Object reference not set to an instance of an object.

Parents Reply Children
No Data