告诉你一个简单的方法,ado中最难写的是连接字串,可以用定义adodc控件的方法获得,只要指定使用连接字串就可以了,然后把那个生成的字串拷下来,这样写:
dim strcnn as string
dim cnn as new adodb.connection
dim rst as new adodb.recordset
cnn.open "拷贝的字串内容"
cnn.excute "update...."
cnn.excute "delete...."
.....
set rst=cnn.excute("select * from....")
....
I don't think truman is right.Maybe to some extend.
Hi hi,A bird in hand worth too birds in bush.
The most import thing is 2 realize the function
effectively.