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....
Loading

NarayanPosted Nov 23, 2011, 8:52 PM
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 SainiPosted Dec 7, 2011, 1:03 PM