28,406
社区成员
发帖
与我相关
我的任务
分享Set cmd = Server.CreateObject("ADODB.Command")
With cmd
.ActiveConnection = conn 'conn已经存在
.CommandText = "select * from tablename where id = ?"
Set rs = .Execute(, Array(1))
End Withcmd.CommandText = "insert into tablename (seg1, seg2) values (?, ?)"
cmd.Execute , Array("seg1_value", "seg2_value"), adExecuteNoRecords