Last post Aug 06, 2017 09:53 AM by anas
Aug 06, 2017 08:09 AM|barakkadosh|LINK
i have 3 lables
evry lable have number
lable1.text = "2";
lable2.text = "3"
lable3.text = "15"
in the web page its look nice but i want the small value be in red color all the time the number as change
how can i do it ?
Aug 06, 2017 09:53 AM|anas|LINK
You can use the ForeColor property for the label control to set the color for the label text.
You will need to write an if statement to decide which label will get the red color based on the values you have.