vbagcl 你好,请使用以下代码测试:
- this.FpSpread1.Sheets[0].RowCount = 10;
- this.FpSpread1.Sheets[0].AlternatingRows.Count = 2;
- this.FpSpread1.Sheets[0].AlternatingRows[0].BackColor = System.Drawing.Color.LightBlue;
- this.FpSpread1.Sheets[0].AlternatingRows[1].BackColor = System.Drawing.Color.LightGreen;
复制代码 |