当我登录成功后,获得一个ID,然后我要用这个ID拼接一个SQL语句加载表数据,
就这么简单的要求,我都不知道怎么做,
发现以下代码可以完成,但是这是一个临时表,不能设置点击事件,大神教教我吧
Dim q As new QueryBuilder
q.C
q.TableName = "ACCOUNTS_BACKLOG_D"
q.TableCaption= "待办列表"
q.SelectString = "Select id As 单据编号,approver_id As 审批人编号,title As 标题,proposer As [申请人/报销人],department As [单位/部门],Date As 日期 f rom ACCOUNTS_BACKLOG where approver_id='" & _UserCode & "'"
q.Build
[此贴子已经被作者于2018/3/15 14:49:10编辑过]