Hi all,
I have a DataGrid. Whenever, I select a row , the selected row back color will change to blue.
When ever, I select another row, the new row selected color will also change to blue.
But how to change the previous selected row back color back to white.
Please help.
Thanks
protected
void dgInfo_SelectedIndexChanged(object sender, EventArgs e)
{
selectedValue = dgInfo.SelectedIndex.ToString();
dgInfo.SelectedItem.BackColor =
Color.Blue;
}