如何在GridView的Footer内显示总计
1个回答
展开全部
前台: 后台: private int num = 0; protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView dr = e.Row.DataItem as DataRowView; num += Convert...
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询