Hi,
I am programmaticall y binding gridview to a datatable. I want to hide 2 columns. I can be done by adding code in RowCreated event of gridview like
e.Row.Cells[0].Visible = false;
e.Row.Cells[5].Visible = false;
but after that paging is not working.
I tried another way by using gridview's column.Visible property
but its giving error
Index was out of range. Must be...