You can write code as below.
string usreType = DropDownList.SelectedItem.Value;
bool IsValidUser = if(IsValidUser)
case : "Admin" break;
case : "Executive " break;
The best way to implement this senario is to first validate user with user name and password. And then validate type of user with user name and password. By using this technique you can display more appropriate error message.