I have created one login page named login.aspx. And one database named ADMIN. I have created one table named ADMIN and in that table there are two fields ADMINISTRATOR and PASSWORD. And I have put 2-3 records in it.
When I click on login button, it should check in database that whether user is available in the database or not? and if he is available then it should go to the next page called reg.aspx else it should display an error message.
Can you please send me back code.