你好我真的不知道我试图将我的vb.net应用程序连接到我的数据库有什么问题但是我有这个例外有什么帮助吗?
这里是代码:
Imports System.Data.OleDb
Module Module1
Sub Main()
Dim myConnection As OleDbConnection
Dim myCommand As OleDbCommand
Dim dr As OleDbDataReader
myConnection = New OleDbConnection("Provider=MSDAORA.1;UserID=hr;password= adidas1; database=XE")
'MSDORA is the provider when working with Oracle
Try
myConnection.Open()
myConnection.Close()
Catch ee As Exception
End Try
End Sub
End Module