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

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top