Simplest way is to do like this:if you are matching the username and password from database then you can add a column called
usertype
and check this column value also at the time of login , if the
usertype
is admin then redirect to admin.aspx else to other page.
you can also use
ASP.net Roles and membership[
^] to implement this.
hope it helps :)