Different FontColors depending on Value

J

Jörg Reinhardt

I want to display the text in a different color if a value in an other
column ist False. How can I realice this?

Many thanks in advance

Joerg Reinhardt
 
E

Eliyahu Goldin

The simpliest way is to handle ItemDataBind event. In the event you can
access item (row) cells. You can check the value in one column and set text
style for another column.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top