Foxtable(狐表)用户栏目专家坐堂 → 点击登陆时,'错误信息提示:未将对象引用设置到对象的实例.


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

主题:点击登陆时,'错误信息提示:未将对象引用设置到对象的实例.

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:109467 积分:556997 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/9/9 8:33:00 [显示全部帖子]

认真理解一下示例三:http://www.foxtable.com/webhelp/topics/0396.htm

            With wb.AddPanelGroup("page3","pg3","报名查询")
                wb.AddForm("page3","form2","bmcx.htm")
                Dim dr As DataRow =DataTables("users").Find("name='" & username & "'" )
if dr isnot nothing then
                Dim dr2 As DataRow =DataTables("interest_classes").find("id='" & dr("interestid") & "'" )
if dr2 isnot nothing then
                With wb.AddPreview("form2","pv2","","")
                    .AddItem("学生姓名","申报社团名称")
                    .AddItem(username,dr2("name"))
                    .Addbutton("辅助操作", "http://www.foxtable.com", 0)
                    .Addbutton("操作", "", 1, "")
                End With
end if
end if
            End With

 回到顶部