NET MVC 2.0 以後, 增加了Model Validation, 可以使用Data Annotation 的 ... NET 的DataAnnotation 中, 提供了包括Required, StringLength, Range, ...
確定! 回上一頁