change color of a datalist fields text
Hi, Ive been trying to have a data lists field value checked and if its below 0 have it turn red. and as long as the value is positive it should display green.
Ive added a on data change event to the row using the event to determine if the value is less than 0. what am I missing...ive tried the function on the field itself..but just cant figure it out...
if the fields value is say -13 i want it red but if its 13 it should display green