var argb = Convert.ToInt32( ((DataRowView)this.dataGridView1.Rows[e.RowIndex].DataBoundItem)["Color"]); Color = Color.FromArgb(argb);