I need to make a statement much like
<%#((bool)Eval("inactive")) ? "<span style='color:red;font-weight:600;'>INACTIVE</span>" : "<span style='color:green;font-weight:600;'>ACTIVE</span>"%>
Except instead of a boolean I need it to take 3 Conditional Statements.
So using
<%#Eval("Program_Num") %>
I need it to say
- If Program_Num == 1 then it's X,
- if Program_Num == 2 then it's y,
- if Program_Num == 3 then it's z;
I'll clarify and answer any questions to the best of my abilities, thank you for the help.