主题:vb.net运行时出现错误
Public Sub ConnectOracle()
Dim strConnection As String = "Provider=MSDAORA;Data Source=jive;" _
& "user id=system;password=test;" _ '注意在此处更改成你的用户名和密码!!
& "persist security info=false;"
cnOracle = New OleDbConnection(strConnection)
cnOracle.Open()
End Sub
编译整个系统的时候,在 & "persist security info=false;"处说有语法错误。请问是什么错误,怎么修改啊??
谢谢了
Dim strConnection As String = "Provider=MSDAORA;Data Source=jive;" _
& "user id=system;password=test;" _ '注意在此处更改成你的用户名和密码!!
& "persist security info=false;"
cnOracle = New OleDbConnection(strConnection)
cnOracle.Open()
End Sub
编译整个系统的时候,在 & "persist security info=false;"处说有语法错误。请问是什么错误,怎么修改啊??
谢谢了