Foxtable(狐表)用户栏目专家坐堂 → 数组转换


  共有4334人关注过本帖树形打印复制链接

主题:数组转换

美女呀,离线,留言给我吧!
qianqian1530
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:三尾狐 帖子:746 积分:5567 威望:0 精华:0 注册:2013/12/4 8:56:00
数组转换  发帖心情 Post By:2015/4/20 3:41:00 [只看该作者]

 怎么讲已经编辑好的  String 转换成 String() 呢?


dim sd as string = "{""productID"",""ID"",""color"",""weight"",""productNum"",""productRemarks"",""ischeck"",""caseNo"",""leaderID""}"

把这个转换成  数组

Dim Cols1() As String = {"productID","ID","color","weight","productNum","productRemarks","ischeck","caseNo","leaderID"}


 回到顶部
帅哥哟,离线,有人找我吗?
lsy
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:5246 积分:33163 威望:0 精华:8 注册:2013/1/17 21:28:00
  发帖心情 Post By:2015/4/20 6:37:00 [只看该作者]

Dim sd As String = "{""productID"",""ID"",""color"",""weight"",""productNum"",""productRemarks"",""ischeck"",""caseNo"",""leaderID""}"
sd = sd.Replace("""","").Replace("{","").Replace("}","")
Dim Cols1() As String = sd.Split(",")

 回到顶部