jordan says:
grvdata.rows[i].cells["color"].style.backcolor = system.drawing.color.fromargb(convert.toint32(grvdata.rows[i].cells["colorcode"].value))
replace above code with below
grvdata.Rows[i].Cells[0].Style.Add("BackColor", System.Drawing.Color.FromArgb(Convert.ToInt32(grvdata.Rows[i].Cells[0].Text)));
Cells[0] you need to mention the cell index instead of its name