Foxtable(狐表)用户栏目专家坐堂 → [求助]剩余课次如何提醒


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

主题:[求助]剩余课次如何提醒

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


加好友 发短信
等级:三尾狐 帖子:645 积分:4583 威望:0 精华:0 注册:2012/11/12 14:27:00
  发帖心情 Post By:2013/4/6 14:47:00 [显示全部帖子]

Dim s1 as string
 
Dim drs as list(of Datarow)
drs = Datatables("XX").select("剩余课次 < 5")

if drs.count > 0 then
    for each dr in drs
       s1= s1  &  vbcrlf  & dr("姓名")  & " : " & dr("剩余课次") 
     Next
     s1 ="名单列表 ( "  & drs.count & " 人) :"  &  s1
     MessageBox.show(s1)
End if

 回到顶部