Skip to content

Instantly share code, notes, and snippets.

@justcoding121
Created January 27, 2013 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justcoding121/4650377 to your computer and use it in GitHub Desktop.
Save justcoding121/4650377 to your computer and use it in GitHub Desktop.
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