What is the best way to accomplish this?
Code: Select all
Dim OracleConnection As OracleConnection = New OracleConnection()
OracleConnection.ConnectionString = "User Id=jdoe;Password=password;Server=ordb;"
OracleConnection.Open()
Dim command As OracleCommand = OracleConnection.CreateCommand()
command.CommandText = "SELECT * from users WHERE user = '" & Request.Form("user") &"'"
dim reader As OracleDataReader = command.ExecuteReader()
Thanks