回复 1楼X765321的帖子
你好,列头合并代码如下:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- return;
- this.FpSpread1.Sheets[0].ColumnCount = 10;
- this.FpSpread1.Sheets[0].ColumnHeader.Cells[0, 0].ColumnSpan = 8;
- this.FpSpread1.Sheets[0].ColumnHeader.Cells[0, 8].ColumnSpan = 2;
- }
复制代码 |