I'm developing an application under windows store 8.1 and I need to use email validation. I've figure it out that there is an EmailAddressAttribute in .Net Framework 4.5 in the namespace System.ComponentModel.DataAnnotations.EmailAddressAttribute However I can't find it there. I've included the DataAnnotations namespace but there is no EmailAddressAttribute there. could anyone please tell me where I'm going wrong?
According to the link you provided, it's in the assembly System.ComponentModel.DataAnnotations.dll in the namespace System.ComponentModel.DataAnnotations. Did you add the reference? Does the reference appear to have any problem in your project?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With