Foxtable(狐表)用户栏目专家坐堂 → 移动端数据更新小问题


  共有1524人关注过本帖平板打印复制链接

主题:移动端数据更新小问题

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


加好友 发短信
等级:七尾狐 帖子:1533 积分:10818 威望:0 精华:0 注册:2016/9/12 11:18:00
移动端数据更新小问题  发帖心情 Post By:2017/9/5 9:20:00 [只看该作者]

Dim e As RequestEventArgs = args(0)
Dim wb As New weui

Dim drbianh As String = e.Cookies("sj")
dim zhanghao as string
Dim dr As DataRow = DataTables("会员资料").sqlFind("手机 = '" & drbianh & "'")

If dr IsNot Nothing Then
    zhanghaodr("账号") ’此时zhanghao值是:1
End If

假设此时dr行的“账号”列,被另外一个人改为“123”,再执行下面代码

If dr IsNot Nothing Then
    zhanghaodr("账号") ’此时值是“1”,还是“123”?(这种情况,无法实测,麻烦说下结果)
End If

e.WriteString(wb.Build)
[此贴子已经被作者于2017/9/5 9:38:56编辑过]

 回到顶部