当前位置:编程学习 > VB >>

VB中出现:找不到可安装的 ISAM

Dim conn As New OleDbConnection() Dim cmd As New OleDbCommand() Dim ds As New DataSet() conn.ConnectionString = "provider=microsoft.jet.oledb.4.0;" & "date source=D:\opl.mdb" conn.Open() cmd.Connection = conn cmd.CommandText = "select*from tpset;" Dim da As New OleDbDataAdapter(cmd) da.Fill(ds, "tpest") DataGridView1.DataSource = ds.Tables("tpest") conn.Close()
追问:谢谢啊,不过依旧没好啊……
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,