摘要:
在gridview的RowCreated的事件里面写下如下代码if (e.Row.RowType == DataControlRowType.Footer){TableCellCollection tcc = e.Row.Cells;//this.GridViewProjectGroupQuatityView.FooterRow.Cells.Add(new TableCell());tcc.Clear();e.Row.Cells.Add(new TableCell());e.Row.Cells[0].Attributes.Add("colspan","4" 阅读全文