接了一个接口的活,VB写的,调用第三方提供的存储过程出现一个异常,如下:System.Data.OleDb.OleDbException: 未指定的错误
at System.Data.OleDb.OleDbCommand.ProcessResults(Int32 hr)
at System.Data.OleDb.OleDbCommand.InitializeCommand(CommandBehavior behavior, Boolean throwifnotsupported)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at maroland.RIS.SystemInterface.HISInterface.postRISOrderDeleted(String orderSeq)
大侠们知道这个是什么原因吗?
VB代码如下:
小弟在这多谢了
System.Data.OleDb只能用于access,没有调用oracle的功能,需要下载专门的驱动和支持库
http://blog.sina.com.cn/s/blog_626ab70c0100q1i6.html