Converting enumerated value to readable value
I have a Dataview grid that contains a column called Status.
In the database the value is enumerated.. so if a record has a Status of Closed the database value is 5 - if Status is Open database value is 1. I am getting the numbers in my page and I would like to somehow convert these dynamically so the user sees Closed, Open etc instead of 0,1,2..etc.
Is this possible. .Net Framework 3.5
-Ina Gaida Binta Single Baby
|