VB程序代码,找不到可安装的ISAM,对象refresh的方法IAdodc失败
哪位大侠帮我解决一下?Adodc1.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;DataSource="&App...
哪位大侠帮我解决一下?
Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0 ; DataSource=" & App.Path & "\student.mdb;Persist SecurityInfo = False"
Adodc1.RecordSource = "select * from student ": Adodc1.Refresh
总是显示Adodc1.Refresh的问题。
Adodc1.RecordSource = " select * from student order by 出生年月"
Adodc1.Refresh
这句话哪里有问题?
Adodc1.RecordSource = " select * from student where 姓名 = " '" & Text8.Text & "'"
Adodc1.Refresh
这句话哪里有问题?
都是显示说Adodc1.Refresh的错误.
万谢!!! 展开
Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0 ; DataSource=" & App.Path & "\student.mdb;Persist SecurityInfo = False"
Adodc1.RecordSource = "select * from student ": Adodc1.Refresh
总是显示Adodc1.Refresh的问题。
Adodc1.RecordSource = " select * from student order by 出生年月"
Adodc1.Refresh
这句话哪里有问题?
Adodc1.RecordSource = " select * from student where 姓名 = " '" & Text8.Text & "'"
Adodc1.Refresh
这句话哪里有问题?
都是显示说Adodc1.Refresh的错误.
万谢!!! 展开
展开全部
Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0 ; DataSource=" & App.Path & "\student.mdb;Persist SecurityInfo = False"
DataSource变成Data Source
SecurityInfo 变成 Security Info
Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source=" & App.Path & "\student.mdb;Persist Security Info = False"
估计是copy的,下次用Adodc自己生成好了再改吧
DataSource变成Data Source
SecurityInfo 变成 Security Info
Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source=" & App.Path & "\student.mdb;Persist Security Info = False"
估计是copy的,下次用Adodc自己生成好了再改吧
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询