connectivity in asp.net 2005
I am developing an inventory software using c#,asp.net,sql server 2005. I have a login.aspx page which has the login box with the username and password. When I click the login box, I want asp.net to check the SQL database to check if the username and password are valid, and then continue to the next page. How will I do that?