以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- [求助]我如何用代码添加值进去? (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=148608) |
-- 作者:zto001 -- 发布时间:2020/4/11 1:03:00 -- [求助]我如何用代码添加值进去? Dim users As new List(Of String) users.AddRange(new String(){"值1","值2","103","值3"}) 粗体区域怎么用代码加?
|
-- 作者:程兴刚 -- 发布时间:2020/4/11 3:55:00 -- Dim str() = {"值1","值2","103","值3"} Dim users As new List(Of String) For Index As Integer = 0 To str.Length - 1 users.add(str(Index)) Next
|
-- 作者:有点蓝 -- 发布时间:2020/4/11 10:09:00 -- http://www.foxtable.com/webhelp/topics/0217.htm |