c# - Can't use ResourceType - Reference installed -
i trying use:
system.componentmodel.dataannotations.displayattribute.resourcetype and visual studio not recognize it. have reference installed: 
i have no idea why happening. can me?
thanks in advance
you have closing ) after name property. attribute needs be
[display(name = "name", resourcetype = typeof(...))] public int email { get; set; } 
Comments
Post a Comment