protected void Gridname_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
Gridname.Columns.ItemStyle.Width = 10;
Gridname.Columns.ItemStyle.Width = 40;
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)