-- 作者:don
-- 发布时间:2009/4/22 11:12:00
--
一.用ClearTotal清除汇总行
Dim dst As WinForm.DataList = e.Form.Controls("DataList1") dst.ClearTotal() dst.RowFilter = "[第一列] = \'A\'"
dst.GrandTotal(AggregateEnum.sum,"总计", "第二列")
二.用build清除汇总行
Dim dst As WinForm.DataList = e.Form.Controls("DataList1") dst.build dst.RowFilter = "[第一列] = \'A\'"
dst.GrandTotal(AggregateEnum.sum,"总计", "第二列")
|