Last post Jan 25, 2013 09:32 AM by AidyF
Jan 24, 2013 01:10 PM|ramll|LINK
I want to use enum concept in my application. Here is my scenario.
I have Roles table in Database
3 Internal User
4 External user
Now, I want to declare enum in my Application for Roles. Based on RoleID, I am getting RoleName from Database. After getting RoleName, how can I use Enum concept here.
Jan 24, 2013 01:24 PM|asp.netforums|LINK
Based on RoleID, I am getting RoleName from Database. After getting RoleName, how can I use Enum concept here.
i dont understand .Do u like this???
use select query for
slecte RoleName from Roles where RoleId=Role.RoleID1
Jan 24, 2013 05:42 PM|ramll|LINK
My question is how to validate or assign value to those enum ?
Lets say, my roleName is Admin. How to validate my role with that enum
Jan 25, 2013 09:29 AM|ramll|LINK
Jan 25, 2013 09:32 AM|AidyF|LINK