0

Hello,
I am using Visual web developer 2008.
I am using AccessDataSource and i connected access database with that.
Now on my login page, i am having 2 text boxes (UserName and Password) and a login button.
So when i click login button, those 2 fields must be checked with database and if the information is correct it must login.
Thankyou

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by bharanidharanit
0

>So when i click login button, those 2 fields must be checked with database.

Use SQL Select statement with where clause.

>and if the information is correct it must login.

You have to use Cookies or Session. Read ASP.NET State Management.

0

ya thanks I used this code.
select * from login where UserName = ' " & txtusername.text & " ' and password = ' " & txtpassword.text & " '
Thankyou

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.