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