format databound field according to the value- ASP

tribeca_belle

New Member
I have a data bound field say "Role"The values in the database for its corresponding field contains 1,2,3.I need to know whether i can format that databound field according to the valuefor eg:if 1 is the value, it should show "Admin".if 2 is the value, it should show "Support".if 3 is the value, it should show "User".can i use DataFormatString for this purpose?? PLS HELP.
 
Back
Top