FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
FarPoint.Web.Spread.StyleInfo style = new FarPoint.Web.Spread.StyleInfo();
FpSpread1.Sheets[0].ColumnCount = 7;
FpSpread1.Sheets[0].RowCount = 50;
btn.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton;
style.CellType = btn;
FpSpread1.Sheets[0].SetStyleInfo(-1, 0, style);
Dim btn As NewFarPoint.Web.Spread.ButtonCellType()
Dim style As New FarPoint.Web.Spread.StyleInfo()
FpSpread1.Sheets(0).ColumnCount = 7
FpSpread1.Sheets(0).RowCount = 50
btn.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton
style.CellType = btn
FpSpread1.Sheets(0).SetStyleInfo(-1, 0, style)