回复 7楼xujingtian的帖子
冻结行会一直存在页面顶部。不受分页影响。
其实测试起来很简单:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- this.FpSpread1.Sheets[0].RowCount = 100;
- this.FpSpread1.Sheets[0].Cells[0, 0].Text = "测试冻结";
- this.FpSpread1.Sheets[0].FrozenRowCount = 1;
- }
复制代码 |