Hi Guys, i'm new to the forum and totally new to ASP.Net
Thought you'd be able to help a newbie out so here goes!
For my site i want a login page which has txt_user and txt_pass and then a login button. I want the textboxes linked to my login table (username, password fields) in MS Access so that when you login in it links to the Access database and if the details don't match it doesn't login in
Hoping this is easy to do
Thanks
Rich
This is not a direct answer to your question, but I wanted to point out that ASP.NET has some membership controls to implement the login features you want for your site. All you have to do is drag and drop them onto the page. Check outthis article for an in depth explanation.You want someone to do this for you?
If not, try the Quickstart tutorials to get some understanding of ASP.NET (they're under the "Learn" button) and databases. Come back here when you have got stuck on a particular part of your task. Let us know what it is and the error messages you get.
Hello, Rich
Here we go, follow these two references which give you a complicated sample and a simple one to use, good luck!
http://www.daniweb.com/techtalkforums/thread19303.htmlhttp://www.flashmagazine.com/695.htm
Hi people, thanks for the help
I'll try these possible solutions when i have time and get back to you
Keep up the good work
Rich
Jerome, that top link worked a treat, thanks for that!
It now logs in from the database
________
My next question is how can i put a Welcome [username goes here] feature on my logged in page where it's in a label and it shows you which username you logged in as?
I presume its very simple and just calls a username variable (or something!) but i can't get my head around it
Thanks again
rich2701:
My next question is how can i put a Welcome [username goes here] feature on my logged in page where it's in a label and it shows you which username you logged in as?
I presume its very simple and just calls a username variable (or something!) but i can't get my head around it
Please do not ask a second unrelated question on the same thread. Always start a new thread for a new issue.
Drop a label control (or a textbox) and fill it in at runtime, maybe in Page_Load() or wherever you want, getting and displaying the user name.
0 comments:
Post a Comment