我想在我的MVC表格使用數據選擇器的DATATIME場日期選取器
我使用下面的代碼來獲取數據的時間值,
[Required(ErrorMessage="Please enter the Absence Start Date")]
[StringLength(20,ErrorMessage="The Format must not exceed 50 Characaters")]
[DataType(DataType.DateTime)]
[Display(Name="Absence Start Date")]
public DateTime AbsenceStartDate{get;set;}
但我想在文本框旁邊有數據控制器控件。我怎麼能這樣做?
任何幫助
謝謝
我正在使用jquery,謝謝。我做到了 – 2011-05-17 14:07:31