摘要: 1:验证添加DLLMicrosoft.Practices.EnterpriseLibrary.ValidationSystem.ComponentModel.DataAnnotations添加命名空间:using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;using Microsoft.Practices.EnterpriseLibrary.Validation;加验证public class Customer { [StringLengthValidator(1, 25)] pub... 阅读全文
posted @ 2013-06-17 11:13 小锋神 阅读(635) 评论(0) 推荐(1) 编辑