Created
January 27, 2013 20:43
-
-
Save justcoding121/4650377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim Name, Password as String | |
Dim Command as OracleCommand | |
Dim Reader as OracleDataReader | |
Name = Me.TextBox_username.Text | |
Command.SelectText = “Select password FROM usernames_table WHERE username =:parameter1” | |
Command.Parameters.AddWithValue( | |
"parameter1", Name) | |
Reader = Command.ExecuteReader | |
Reader.Read () | |
Password = Reader (“password”).ToString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment