Showing posts with label GRIDVIEW. Show all posts
Showing posts with label GRIDVIEW. Show all posts
Wednesday, August 28, 2013
Thursday, August 8, 2013
Sunday, July 28, 2013
Thursday, October 25, 2012
Sunday, May 6, 2012
Sunday, June 19, 2011
Friday, June 17, 2011
Saturday, May 28, 2011
Gridview_RowCreated Event
Saturday, May 28, 2011
Vikas Sharma
protected void grdData_RowCreated(object sender, GridViewRowEventArgs e) { if ((e.Row.RowType == DataControlRowType.DataRow) &&
(e.Row.RowState == DataControlRowState.Selected))
{
string strCellvalue = DataBinder.Eval(e.Row.DataItem, "categoryname").ToString(); if (strCellvalue == "Admin")
{
e.Row.BackColor = System.Drawing.Color.LightPink;
}
}
}
}
}
}