Click here to Skip to main content
16,022,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I m doing a project in that I have some query. My project is Inward and outward System.In this I have a 2 users Admin and user, and when the all the users register self as a member of this system that time they mention the UserType field means (Admin/User).
and for this I have UserMaster Table for both Register Form and Login Form.
Now I have query that, in Login form i m not mention UserType as a TextBox, but when i check the username and password in the Sqldatabase that time it is automatically checked who is he/she (Admin/User) and through this the there Home page is opened.
Plzzzz help me if you not understand then plz tell me.
Posted

1 solution

In login form first you need to get the details(usertype) based on user login and password.
after getting the details check the usertype and redirect to the specific page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900