In order to link a database in Visual Web Project , we drag a table onto the drop down list and proceed further.But suppose if we want to go for a simple registration page.How should we go for it.To be more precise if have have only two text fields on the jsp page and an OK button.And when i click the OK button, it should check whether the username and password are correct from the data.If not it should display a message box else should go the the next page to appropriate user profile.