hii.. i have the folllowing code.. in this background color of the row i clicked is changing to red, but the background color of the previous clicked row is not set to default..?
if (e.CommandName == "MyCommand")
{
LinkButton lb = e.CommandSource as LinkButton;
GridViewRow gvr = lb.Parent.Parent as GridViewRow;
gvr.BackColor = System.Drawing.Color.Empty;
gvr.BackColor = System.Drawing.Color.Red;
}
...
Go to the complete details ...