回复 1楼royalwit的帖子
你好,我使用下面代码没有重现问题:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- this.FpSpread1.Sheets[0].ColumnHeader.RowCount = 2;
- this.FpSpread1.Sheets[0].AllowColumnMove = true;
- this.FpSpread1.Sheets[0].AddSpanCell(0, 0, 1, 2);
- this.FpSpread1.SaveExcelToResponse();
- }
复制代码
请楼主发代码片段到论坛调试. |