Oprette forbindelse til Oracle database fra VB.NET?
Hejsa,Nedenstående bruger jeg til at oprette forbindelse til en MSSQL database fra VB.NET. Hvordan gør jeg hvis det er en Oracle database jeg vil oprette forbindelse til i stdet for?
Dim readOnlyCN As New ADODB.Connection()
readOnlyCN.CommandTimeout = 15
readOnlyCN.Provider = "sqloledb"
readOnlyCN.Properties("Network Library").Value = "DBMSSOCN"
readOnlyCN.Properties("Data Source").Value = paramHost
readOnlyCN.Properties("Initial Catalog").Value = paramDB
readOnlyCN.Properties("User ID").Value = paramBruger
readOnlyCN.Properties("Password").Value = paramPass
