主题:我要急哭了
Dim a As OleDb.OleDbConnection
Dim aa As OleDb.OleDbCommand
Dim s As String
Dim c As String
s = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\我的文档\db1.mdb"
a = New OleDb.OleDbConnection(s)
a.Open()
c = "DELETE A WHERE NO=1"
aa = New OleDb.OleDbCommand(c, a)
a.Close()
MsgBox("OK")
运行后显示“OK” 但数据库NO=1还是在那里 郁闷死我了 没错误
高手帮忙看下
Dim aa As OleDb.OleDbCommand
Dim s As String
Dim c As String
s = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\我的文档\db1.mdb"
a = New OleDb.OleDbConnection(s)
a.Open()
c = "DELETE A WHERE NO=1"
aa = New OleDb.OleDbCommand(c, a)
a.Close()
MsgBox("OK")
运行后显示“OK” 但数据库NO=1还是在那里 郁闷死我了 没错误
高手帮忙看下