Hi,
I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name
"table1" (only 2 fields username and password).Once users enter their username & id,and by clicking button control,it must check into the database.If is it in database means ,this login page call other .aspx page.if is it not in database means "error should arise not in the database".I dont how to proceed .........and i need a full code regarding on this.Please help me...........
santhanalakshmi
-2
Junior Poster in Training
Recommended Answers
Jump to PostSearch and you shall find.
Jump to PostWhy not use Session Variables? Once the user is verified create a Session variable (e.g. Session("Verified") = "Yes"). In the Page Load check if the value is Yes. Much easier and quicker than a database access plus MS Access sucks as a multi-user database.
Jump to PostPlease put some effort to write codings, I don't know how to clear your doubts. Are you asking for full coding from connection establishment upto validation.
All 9 Replies
ericstenson
5
Posting Whiz in Training
Team Colleague
thebigo
0
Newbie Poster
rajarajan2017
girigdk
0
Newbie Poster
santhanalakshmi
-2
Junior Poster in Training
srikanthkadem
0
Junior Poster in Training
santhanalakshmi
-2
Junior Poster in Training
srikanthkadem
0
Junior Poster in Training
JackyGZ
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.