回复 1楼wjj_123的帖子
wjj_123 你好,
Spread 并没有合并两个单元格内容的公式,可以通过合并:
- if (IsPostBack)
- return;
- this.FpSpread1.Sheets[0].Cells[0, 0].Text = "2012";
- this.FpSpread1.Sheets[0].Cells[0, 1].Text = "2012";
- string combineStr = this.FpSpread1.Sheets[0].Cells[0, 0].Text + this.FpSpread1.Sheets[0].Cells[0, 1].Text;
- this.FpSpread1.Sheets[0].Cells[0, 2].Text = combineStr;
复制代码 |