user763554
user763554

Reputation: 2041

How to set the TEXT color of a GridView cell?

I tried this, but not only the text but also the border of the cell is set to Green. How do I set only the TEXT color to Green? Thanks.

e.Row.Cells[0].ForeColor = Color.Green;

Upvotes: 0

Views: 1054

Answers (1)

stillLearning
stillLearning

Reputation: 84

Maybe this one can help you.

gridview row color

Upvotes: 1

Related Questions