请问用ADODC 怎么批量删除数据啊
用ADODB 我会了用ADODC 的话怎么执行 delete * from 表名 啊 --------------------编程问答-------------------- 会用对象了还用控件干嘛? 直接对象灵活多了 --------------------编程问答-------------------- dim cnt as new adodb.connection
cnt.open adodc1.connectionstring
cnt.execute "delete * from yourtable" --------------------编程问答-------------------- do
adodc1.recordset.delete
adodc1.recordset.next
loop until adodc1.recordset.eof --------------------编程问答-------------------- ADODC1.Recordset.ActiveConnection.Execute "delete * from 表名"
补充:VB , 基础类