protected void grdTemp_RowDataBound(object sender, GridViewRowEventArgs e)
{
//Apply Styles for Header
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[17].Text == "RepeatHeader")
{
e.Row.BackColor = System.Drawing.Color.FromName("#003366");
e.Row.ForeColor = System.Drawing.Color.White;
}
}
Wednesday, June 2, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment