sign in button in .net 2.0

i am looking for code to button"sign in".i have an application in which user enters userid and passowrd and hits sign in button.
i have to check the entered userid and password in the database(sql) and allow the user to move to other page if his userid and password exists.if not show him error message.
using .net2.0/
Thank you
Who is Participating?
brwwigginsIT ManagerCommented:
look at the built-in login control and forms authentication methods. That would be your easiest
Stephen MandersonSoftware EngineerCommented:
Hi there

Take a look at the following example

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.