多步OLE DB操作生成错误

时间:2010-08-11 06:58:03

标签: oledb

  

可能重复:
  Multiple-step OLE DB operation generated errors

Dim NorthWindOledbConnection As String =“Provider = SQLOLEDB; DataSOurce = SARAN-PC \ SQLEXPRESS; Integrated Security = ssp1; InitialCatalog = Sara”

Dim rs As New ADODB.Recordset()

rs.Open(“select * from SecUserPassword”,NorthWindOledbConnection,ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockBatchOptimistic)

我试图在visual studio 2008中运行以上代码... 它显示以下错误........

“多步OLE DB操作生成错误。检查每个OLE DB状态值,如果可用。没有工作”

帮我继续​​...... 提前谢谢

0 个答案:

没有答案