protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[1].Visible = false; }
Specified argument was out of the range of valid values. Parameter name: index Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index Source Error: Line 108: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) Line 109: { Line 110: e.Row.Cells[1].Visible = false; Line 111: } Line 112:}
RowDatabound
myDg.Columns[1].Visible = false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)