I have the code below for reading from an oracle database for VB.NET.
It works fine, but says OracleConnection is absolute. I have tried to look for its replacement and I am not getting
Dim oradb As String = "Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=pp)(PORT=1521)))" _
+ "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=b)));" _
+ "User Id=uid;Password=pw;"
Dim conn As New OracleConnection(oradb)
Dim i As Integer = 0
Dim cmd As New OracleCommand