Click here to Skip to main content

al-aml asked:

Open original thread
Hi ...
 
I am attempting to create a login page for Recruitment-system that has (3) access levels. If the access level is 1 (super Admin)they receive the Admin home page,if the level is 2(sub admin) they receive the (sub admin page) and If th access level is 3 (job seeker)they receive the (jobseeker home page)
also depending on access level of the user , some links will be hidden from the user if he is not have the appropriate access level to that page .
 
1 . what is the stored procedure to validates the username and password?
 
2-how to do this:
Login method on login button validates the username and password against the credentials in the database, when the user clicks the button and the try Login variable is returns true the access level is taken from the database where the username in the database matches the username text field. .
 
I'm a beginner in ASP.NET programming plz please help
Tags: C#, ASP.NET, SQL-Server, Visual-Studio

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).



Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 26 Mar 2009
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid