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 PostYes, you have all the controls in your Toolbar if you are using Visual Studio 2005, or 2008.
Jump to PostMembership would be the fastest and easiest yes, by far. However, if you wish to create a simple login and compare the values of the user's input to the database, do something like this:
Dim conn As New SqlConnection( connectionstring ) Dim cmdSelect As New SqlCommand( "SELECT …
Jump to PostIt's set for a programmer. Watch a tutorial (video) on how to set up a membership. It will lead you through what you need to do :)
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 Featured Poster
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 Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
majestic0110 187 Nearly a Posting Virtuoso
serkan sendur 821 Postaholic Banned Featured Poster
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 Featured Poster
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.