首页上一页 1 下一页尾页 1 条记录 1/1页
数据库的字符串连接
发表在VB答疑区
2010-04-26
是否精华
是
否
版块置顶:
是
否
老师们好:刚学VB,很多东西不明白,请指教一下,我这段代码有什么错?运行时提示:找不到可安装的ISAM
Private Sub Form_Load()
Adodc1.ConnectionString = "provider=microsoft.jet.oledb.4.0;date source=" + App.Path + "\名册.mdb;persist security info=false"
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "select * from 花名册"
Adodc1.Refresh
End Sub
Private Sub Form_Load()
Adodc1.ConnectionString = "provider=microsoft.jet.oledb.4.0;date source=" + App.Path + "\名册.mdb;persist security info=false"
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "select * from 花名册"
Adodc1.Refresh
End Sub