以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 循环语句出错 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=136843) |
-- 作者:ezilu -- 发布时间:2019/6/22 18:35:00 -- 循环语句出错 Dim cnt As Integer For Each ry As String In rys Dim dr1 As DataRow = DataTables("user").Find("[user_gh] = \'" & ry & "\'") Dim nm As String = dr1("user_xm") MessageBox.Show(nm) Dim nmpb As String = e.Form.Controls("Combobox_" & cnt & "_0").Value MessageBox.Show(nmpb) Dim nms As String nms = nm & "-" & nmpb cnt = cnt + 1 Next 问题是怎么样把所有循环的的nms 加油rys有6个数组 会产生6个nms值 如何把这6个值变成一个集合呢 谢谢大大
[此贴子已经被作者于2019/6/22 18:53:41编辑过]
|
-- 作者:有点甜 -- 发布时间:2019/6/23 12:47:00 -- 1、http://www.foxtable.com/webhelp/topics/0245.htm
2、http://www.foxtable.com/webhelp/topics/0217.htm
|