Am kind confused, am try to the max and min length of the datatype int in my credit card details and telephone but i don't how to.
[Required(ErrorMessage = "Telephone is required")]
public int Telephone { get; set; }
[Required(ErrorMessage = "Card Type is required")]
[DisplayName("Card Type")]
[StringLength(20)]
public string CardType { get; set; }
[Required(ErrorMessage = "Card Holders Name is required")]
[DisplayName("Card Holders Name")]
[StringLength(160)]
public string CardHoldersName { get; set; }
public int CardNumber { get; set; }
public int CardExpMonth { get; set; }
public int CardExpYear { get; set; }
[ScaffoldColumn(false)]
public decimal Total;