T
tshad
How do I change the color of a particular columns' text (forecolor)?
I normally do this in my PreRender function for the rows as:
for each oItem as DataGridItem in DataGrid1.Items
oLabel = CType(oItem.FindControl("SessionID"),Label)
oLabel.ForeColor = System.Drawing.Color.Orange
next
How do I access the columns HeaderText to make this change?
Thanks,
Tom
I normally do this in my PreRender function for the rows as:
for each oItem as DataGridItem in DataGrid1.Items
oLabel = CType(oItem.FindControl("SessionID"),Label)
oLabel.ForeColor = System.Drawing.Color.Orange
next
How do I access the columns HeaderText to make this change?
Thanks,
Tom