asp.net - Dynamically Change Color of Text ONLY in GridView -


i'm writing asp.net app (using vb). have conditional formatting of gridview rows based on content. want able change color of text part of this. tried using:

e.row.forecolor = system.drawing.color.red

the problem turns borders red too. way change text color, or force borders black?

thanks

mark

try this.

e.row.bordercolor = system.drawing.color.black;

after changing forecolor


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -