Hi..
I have three link button in a form i.e. SuperAdmin,Admin,Candidate and there is a table in sql server which have two fields username and password of SuperAdmin, Admin,Candidate. When we click one of these link button then open a login page and then enter username and password in the textbox then click submit button ,So I want submit button auto identify that user is SuperAdmin, Admin, Candidate.,Please solve my problem.......
Thanks....
LogIn Page
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


NarayanRank #8,477 · 221 reputationPosted Nov 23, 2011, 3:52 PM EST
and add a column to user table which will hold roleid.
In you form after login when usename and password is matched, get the roleid
Vineet Kumar SainiRank #257 · 9.8K reputationPosted Dec 7, 2011, 8:03 AM EST