Dim bd1 As New GroupTableBuilder("统计表1",DataTables("成绩"))
Dim dt1 As fxDataSource
bd1.FromServer = True
bd1.Groups.AddDef("单位名称")
bd1.Groups.AddDef("考试名称")
bd1.Groups.AddDef("年级代码")
bd1.Groups.AddDef("班级") '根据型号分组
bd1.Totals.AddDef("姓名",AggregateEnum.Count,"参考人数") '对数量进行统计
bd1.Totals.addDef("语文_语总",AggregateEnum.Average,"语文_平均")
''****
dt1 = bd1.BuildDataSource()
Tables("报名_Table2").DataSource = dt1 '将统计结果绑定到Table
老师后台不支持表达式列,怎么办(语文_语总 = 语A+语B)