以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 代码问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=105264) |
-- 作者:huli503 -- 发布时间:2017/8/15 22:49:00 -- 代码问题 各位老师,我想删除符合查询表1条件的后台数据,代码不执行 |
-- 作者:有点蓝 -- 发布时间:2017/8/15 23:07:00 -- dim cmd as …… cmd.c…… dim lst as New List(of string)for each r as row in tables("查询表1").Rows lst.add(r("partid")) next cmd.commandtext = "delete from partusematerial where partid in (\'" & string.join("\',\'",lst.toarray) & "\')" cmd.ExecuteNonQuery
|