FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CurrencyCellType Class > CurrencyCellType Constructor : CurrencyCellType Constructor(String) |
'Declaration Public Function New( _ ByVal errorMessage As String _ )
'Usage Dim errorMessage As String Dim instance As New CurrencyCellType(errorMessage)
public CurrencyCellType( string errorMessage )
FpSpread1.Sheets[0].ColumnCount = 7; FpSpread1.Sheets[0].PageSize = 50; FpSpread1.Sheets[0].RowCount = 50; FarPoint.Web.Spread.CurrencyCellType curr = new FarPoint.Web.Spread.CurrencyCellType("You must use numbers!!"); int i; for (i = 0; i <=49; i++) { FpSpread1.Sheets[0].Cells[i, 0].CellType = curr; FpSpread1.Sheets[0].Cells[i, 0].Value = 100 + i; }
FpSpread1.Sheets(0).ColumnCount = 7 FpSpread1.Sheets(0).PageSize = 50 FpSpread1.Sheets(0).RowCount = 50 Dim curr As New FarPoint.Web.Spread.CurrencyCellType("You must use numbers!!") Dim i As Integer For i = 0 To 49 FpSpread1.Sheets(0).Cells(i, 0).CellType = curr FpSpread1.Sheets(0).Cells(i, 0).Value = 100 + i Next i
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6