Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Need to connect to database to confirm user password


Need to connect to database to confirm user password

Author
Message
TallOne
TallOne
Forum God
Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)

Group: Forum Members
Posts: 370, Visits: 212
I couldn't quite tell what language you are using, but regardless, you'll need to create a connection, command and execute the command.  Once you can do this, we can add to the process to get what you want. 

It will be something similar to this:

Dimension and set the propertites of your conn object
Dimension and set the properties of your command object
Get a reference to the datatable returned
Do your stuff

There should be plenty of examples of getting a datatable/dataset and looping to do your stuff.  Post your code and we can go from there!

TallOne

MsAdams
MsAdams
Supreme Being
Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)Supreme Being (279 reputation)

Group: Forum Members
Posts: 1, Visits: 3
Hello!

I am trying to connect to my database that contain a: Username / Password

The username is binded in a combobox, and the password is a textbox

I want the textbox to match the password with the selected user in the database.

Here is what I have so far



Ms. Adams

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search