- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
- nfi.CurrencySymbol = "";
- FarPoint.Web.Spread.CurrencyCellType currcell = new FarPoint.Web.Spread.CurrencyCellType();
- currcell.MinimumValue = 1;
- currcell.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[1, 1].CellType = currcell;
- }
- }
复制代码 |