cellPerson.BackColor = Color.Navy; cellPerson.ForeColor = Color.Yellow; cellPerson.ColumnSpan = 3; cellPerson.HorizontalAlign = HorizontalAlign.Center; cellPerson.Controls.Add(new LiteralControl("个人信息")); TableCell cellJob = new TableCell(); cellJob.BackColor = Color.Navy; cellJob.ForeColor = Color.Yellow; cellJob.ColumnSpan = 2; cellJob.HorizontalAlign = HorizontalAlign.Center; cellJob.Controls.Add(new LiteralControl("工作信息")); e.Item.Controls.Add(cellJob); m_CreatePageTimes ++; }else if(m_CreatePageTimes ==1){ // create custom pager UI } } 最后是DataGrid的HTML部分的代码如下: |
正在阅读:如何给DataGrid添加双题头分类显示如何给DataGrid添加双题头分类显示
2004-05-12 14:37
出处:CSDN
责任编辑:linjixiong
键盘也能翻页,试试“← →”键