Link to home
Start Free TrialLog in
Avatar of rpm962
rpm962Flag for United States of America

asked on

How do I change font properties for the high value returned from each column in a datalist?

I would like to display the high value in each column of a datalist in bold.

Example:

Employee    hours      sales
emp1           6              <b>1</b>
emp2          <b>7</b>     0

I assume I achieve this in itemdatabound, but I'm stuck.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of apresto
apresto
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rpm962

ASKER

Thanks for the prompt response.  I think I can handle that, yeah.  Is achieving this in the ItemDatabound event the best way to go about it?
i would say so yes because you are formatting before the data has even been bound, its better than actually looping the table once it has been rendered