是否是这样设置:
//区域绑定的方式
this.fpSpread1.SuspendLayout();
FarPoint.Win.Spread.Data.SpreadDataBindingAdapter Sdba = new FarPoint.Win.Spread.Data.SpreadDataBindingAdapter();
Sdba.DataSource = dt;
Sdba.Spread = fpSpread1;
Sdba.SheetName = fpSpread1.Sheets[0].SheetName;
Sdba.AutoGenerateRow = true;
Sdba.DataAutoCellTypes = false;
Sdba.MapperInfo = new FarPoint.Win.Spread.Data.MapperInfo(1, 0, iF1AtMaxRow, iF1AtMaxCol);
Sdba.FillSpreadDataByDataSource();
this.fpSpread1.ResumeLayout();
发现这样设置还是不行!大数据好久没有反应。 |