1
[RegularExpression("", ErrorMessage = " Affordable fees cannot be Zero or Negative.")]
public decimal AffordablePayment { get; set; }
我需要DataAnnotation驗證中的ErrorMessage正則表達式。請幫助我。謝謝!如何在MVC3正則表達式中爲NOT NULL或ZERO提供數據註釋驗證