以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 去空格 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=94701) |
-- 作者:刘林 -- 发布时间:2016/12/29 21:03:00 -- 去空格 请问姓名中有空格,如: 刘 备 取成刘备 |
-- 作者:wyz20130512 -- 发布时间:2016/12/29 21:59:00 -- With DataTables("表A") For Each dr As DataRow In .DataRows Dim n As String = dr("姓名") dr("姓名") = n.Replace(" ","") Next End With
|