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状态值,如果可用。没有工作”
帮我继续...... 提前谢谢