[StringLength(4,ErrorMessage = "字串最多輸入4個字")] public string ShipAddress { get; set; }. 藉由 MinimumLength 來強制使用者必須填入字串,並驗證輸入的字串 ...
確定! 回上一頁