Tuesday, April 5, 2011

Grid View Header Back Color and Fore Color Change Using Row Data Bound

GridViewRow headerRow = CustomersGridView.HeaderRow;
headerRow.ForeColor = System.Drawing.Color.Green;
headerRow.BackColor = System.Drawing.Color.Red;

No comments:

Post a Comment