I have a database that contains a status code. I would like to display in my grid a user-friendly status rather than the status code. So if the code in the DB is 1, I'd like to display Open in the grid rather than 1. If the code is 2, I'd like to display Closed in the grid rather than 2. I currently have the status code defined in the grid as a Label. I'm not sure how to condition the Status that is displayed based on the status code coming from the database.
Thanks,
Tim Barker
Bookmarks