StringLength 特性驗證輸入字串長度;. 語法: public class Student { [Required] //表示可以在前臺展示姓名欄位 [DisplayName("姓名")] ...
確定! 回上一頁