回复 14楼gengwh的帖子
cell 锁定后默认状态即为,不可编辑、可复制。测试代码:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- this.FpSpread1.Sheets[0].Cells[0, 0].Text = "选择后,复制";
- this.FpSpread1.Sheets[0].Cells[0, 0].Locked = true;
- }
复制代码 |
|