Hi all. just wondered if there was a quick and easy way (or good tutoriaL) to validate user input (on a login control) against a SQL database where the users username and password credentials are stored. Any suggestions will be greatly appreciated! Thanks for your time.
majestic0110
187
Nearly a Posting Virtuoso
Recommended Answers
Jump to Postthe easiest way is to enable asp.net membership provider, it creates all the required tables and procedures for you. drag and drop create user wizard to your webform, then run the page. when you create your first user,
Jump to PostYes, you have all the controls in your Toolbar if you are using Visual Studio 2005, or 2008.
Jump to Posthi majestic0110,
There is ASP Login Control exists in VS 2005 OR VS 2008, but you still want to use traditional database technique to design login control. For this, i have one article which help's you a lot.
Just check this link, hope this will help you.
Jump to PostIm unclear, If I use membership does that mean I shouldnt use Roles or do they go hand in hadn?
they go hand in hand
Jump to Postconnecting to the database.
All 21 Replies
serkan sendur
821
Postaholic
Banned
majestic0110
187
Nearly a Posting Virtuoso
ManicCW
3
Junior Poster in Training
majestic0110
187
Nearly a Posting Virtuoso
dilipv
0
Light Poster
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
majestic0110
187
Nearly a Posting Virtuoso
serkan sendur
821
Postaholic
Banned
SheSaidImaPregy
28
Veteran Poster
majestic0110
187
Nearly a Posting Virtuoso
majestic0110
187
Nearly a Posting Virtuoso
SheSaidImaPregy
28
Veteran Poster
majestic0110
187
Nearly a Posting Virtuoso
majestic0110
187
Nearly a Posting Virtuoso
serkan sendur
821
Postaholic
Banned
majestic0110
commented:
Very helpful and informative
+1
majestic0110
187
Nearly a Posting Virtuoso
SheSaidImaPregy
28
Veteran Poster
majestic0110
187
Nearly a Posting Virtuoso
SheSaidImaPregy
28
Veteran Poster
majestic0110
commented:
always helpful and polite
+1
majestic0110
187
Nearly a Posting Virtuoso
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.