for say a Repeater, how do I format a data item that matches to an enum in my code?
for example:
td><%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"type").ToString()) %></td>
will output the raw type,
but in my enum 1=Red, 2=Green, 3=Blue.
how do I output "Red" or "Green" or "Blue" and not the values 1,2 or 3.