protected void Page_Load(object sender, System.EventArgs e)
{
if (this.IsPostBack) return;
FarPoint.Web.Spread.IntegerCellType ict = new FarPoint.Web.Spread.IntegerCellType();
ict.NumberFormat = new System.Globalization.NumberFormatInfo();
//Display mode, leave edit mode
ict.NumberFormat.NumberGroupSeparator = "?";
//Start edit mode
ict.EditMode.NumberFormat = new System.Globalization.NumberFormatInfo();
ict.EditMode.NumberFormat.NegativeSign = "~";
FpSpread1.Sheets[0].Columns[1].CellType = ict;
FpSpread1.Sheets[0].Cells[1, 1].Value = -34567;
}