FarPoint.Web.Spread 名前空間 > DateTimeCellType クラス > DateTimeCellType コンストラクタ : DateTimeCellType コンストラクタ(DateTime,DateTime,String) |
DateTime min = new DateTime(2000, 1, 1); DateTime max = new DateTime(2010, 12, 31); FarPoint.Web.Spread.DateTimeCellType dt = new FarPoint.Web.Spread.DateTimeCellType(min, max, "Need a date!!"); FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dt;
Dim min As New DateTime(2000, 1, 1) Dim max As New DateTime(2010, 12, 31) Dim dt As New FarPoint.Web.Spread.DateTimeCellType(min, max, "Need a date!!") FpSpread1.ActiveSheetView.Cells(0, 0).CellType = dt