连接数据库的代码如下:
DbConn.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=stock;Data Source=DIANNAOBU6"
DbConn.CursorLocation = adUseClient
DbConn.Open连接数据集添加记录的代码如下:
rs.CursorType = adOpenStatic
rs.CursorLocation = adUseClient
Set rs = DbConn.Execute("select * from Vendor")
rs.AddNew
运行时提示出错:当前记录集不支持更新,这可能是提供程序的限制,也可能是选定锁定类型的限制Why??????