日期:2014-05-17 浏览次数:20417 次
[Required(ErrorMessage = "Name is required")]
public string Name { get; set; }
[Required(ErrorMessage = "Message is required")]
public string Message { get; set; }
[DataType(DataType.EmailAddress)]
public string Email { get; set; }