Hi All IT developer and C# expert please help me urgent.
I'm working on a project of Bakery Management. I'hd shown the room booked in hotel in Datagridveiw Control. My client require the cell color in different colors when he enters in particular cell. I had written code in dgv_Formatting Event for coloring but all cells of Datagriveiw are going to colored. I write code like follow.
private void dgv_CellFormatt ing(object sender, DataGridViewCel lFormattingEven tArgs e)
{
e.CellStyle.Bac kColor = Color.MediumPur ple;
}
Please help me urgent.
I'm working on a project of Bakery Management. I'hd shown the room booked in hotel in Datagridveiw Control. My client require the cell color in different colors when he enters in particular cell. I had written code in dgv_Formatting Event for coloring but all cells of Datagriveiw are going to colored. I write code like follow.
private void dgv_CellFormatt ing(object sender, DataGridViewCel lFormattingEven tArgs e)
{
e.CellStyle.Bac kColor = Color.MediumPur ple;
}
Please help me urgent.
Comment