GridViewRow gvr = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer); int RowIndex = gvr.RowIndex; Grd_ProductSubCategory.Rows[RowIndex].Cells[0].BackColor = System.Drawing.Color.#F1F1F1 (not taken as it is) but accept : System.Drawing.Color.LightGray;
Grd_ProductSubCategory.Rows[RowIndex].Cells[0].BackColor = System.Drawing.ColorTranslator.FormHtml("#F1F1F1);"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)