VB中怎么用代码调用ACCESS数据库中的数据?

2024-10-29 00:10:14
推荐回答(1个)
回答1:

添加adodc控件
Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
App.Path & "\stodata.mdb;Persist Security Info=False"
Adodc1.RecordSource = "select * from DLB"
Adodc1.Refresh