GridView添加统计(合计)行 前提:设置属性ShowFooter="True"方法一:使用SQL查询统计出合计值,在绑定GridView时让其结果赋于一个DataTable(全局变量),然后在RowDataBound事件中 if (e.Row.RowType == DataControlRowType.Footer) { e.Row.Cells[0]... Read More
posted @ 2008-12-18 19:29 liangwei389 Views(455) Comments(0) Diggs(0) Edit