Foxtable(狐表)用户栏目专家坐堂 → 根据不同的学校不同的部别区分班


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

主题:根据不同的学校不同的部别区分班

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


加好友 发短信
等级:小狐 帖子:376 积分:4189 威望:0 精华:0 注册:2008/9/1 14:18:00
根据不同的学校不同的部别区分班  发帖心情 Post By:2011/9/20 12:23:00 [只看该作者]

Dim s As String = DataTables("学业考试成绩").GetComboListString("就读学校","","_Identify")
Dim Values() As String = s.split("|")
For Index As Integer = 0 To Values.Length - 1
    Output.Show(Values(Index))
    Dim s1 As String = DataTables("学业考试成绩").GetComboListString("部别","[就读学校] = '"& Values(Index) &"'","_Identify")
    Dim Value1s() As String = s1.split("|")
    For Index1 As Integer = 0 To Value1s.Length - 1
        Output.Show(Value1s(Index1))
        Dim s2 As String = DataTables("学业考试成绩").GetComboListString("班","[就读学校] = '"& Values(Index) &"'and [部别] = '"& Value1s(Index1) &"'","班")
        Dim Value2s() As String = s2.split("|")
        For Index2 As Integer = 0 To Value2s.Length - 1
            Output.Show(Value2s(Index2))
        Next
    Next
Next

 回到顶部