Foxtable(狐表)用户栏目专家坐堂 → [求助] Exception of type 'System.OutOfMemoryException' was thrown.


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

主题:[求助] Exception of type 'System.OutOfMemoryException' was thrown.

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


加好友 发短信
等级:童狐 帖子:254 积分:1634 威望:0 精华:0 注册:2017/4/14 15:58:00
[求助] Exception of type 'System.OutOfMemoryException' was thrown.  发帖心情 Post By:2019/8/23 10:15:00 [只看该作者]

错误提示:Exception of type 'System.OutOfMemoryException' was thrown.

描述:窗口,Table,SQLQuery表,Button快速查询代码如下:

With e.Form
    If e.sender.Text <> "请输入关键字" Then
        Dim txb1 As WinForm.DropDownBox = e.Form.Controls("快速查询")
        If txb1.Text = "" Then '如果下拉框没有输入内容,则无需查询
            MessageBox.Show("别闹?啥也没输入,找啥啊!!!", "请输入内容!", MessageBoxButtons.OK, MessageBoxIcon.Question)
        Else
            DataTables("库存查询_工厂库存").loadfilter="STOCKC.CMTEID Like '%" & txb1.Text & "%'"
            DataTables("库存查询_工厂库存").Load '(False)
        End If
    End If
End With
图片点击可在新窗口打开查看此主题相关图片如下:1.png
图片点击可在新窗口打开查看

执行后系统崩溃,报错如图:特此求助如何解决。


 回到顶部