左栏'); } else{ document.write('关闭左栏'); } }catch(e){alert(e);}
Foxtable(狐表)用户栏目专家坐堂 → 我觉得这段代码没有问题,怎么会找不到需要的行


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

主题:我觉得这段代码没有问题,怎么会找不到需要的行

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


加好友 发短信
等级:小狐 帖子:370 积分:3195 威望:0 精华:0 注册:2016/6/16 16:11:00
我觉得这段代码没有问题,怎么会找不到需要的行  发帖心情 Post By:2016/7/27 11:51:00 [显示全部帖子]

Dim dr As DataRow = DataTables("users").Find("yhbm ='" & e.Form.Controls("useryhbm").text & "'")
    If dr Is Nothing Then
        Messagebox.show("用户账号错误!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
        e.Form.Controls("Useryhbm").Select
    Else
        e.Form.Controls("userdwmc").value = dr("dwmc")
        e.Form.Controls("username").value = dr("name")
        e.Form.Controls("usergroup").value = dr("group")
        e.Form.Controls("PassWord").Select
    End If


 回到顶部