Foxtable(狐表)用户栏目专家坐堂 → Public member 'Replace' on type 'Long' not found 字符串替代操作报错 啥原因啊


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

主题:Public member 'Replace' on type 'Long' not found 字符串替代操作报错 啥原因啊

帅哥哟,离线,有人找我吗?
guosheng
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:896 积分:7535 威望:0 精华:0 注册:2017/12/27 14:19:00
Public member 'Replace' on type 'Long' not found 字符串替代操作报错 啥原因啊  发帖心情 Post By:2020/4/29 15:37:00 [显示全部帖子]


Dim nms As String = e.Form.Controls("TextBox6").value
messagebox.show(nms)    

Dim nms1 As String = e.Form.Controls("TextBox6").value.Replace(",","-")   '报错
messagebox.show(nms1 )   
Public member 'Replace' on type 'Long' not found


Dim nms1 As String = nms.Replace(",","-")    '没问题
messagebox.show(nms1 )    

 回到顶部