KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have come across a scenerio that to customize DataAnnotations in Dynamic Data Web Application. This is the scenerio: [Display(Name="DispName")] public string DName{get;set;} Instead of hardcoding Name="DispName" for Display DataAnnotation, I want to fetch some value from DataBase and fit int the Name attribute. like: [Display(Name=SomeValueFromDB)] public string DName{get;set;} Is there any way to show the Name attribute of Display DataAnnotation from database instead of hardcoding its value? Thanks in advance, Sujith
Tags (comma-separated)
Save Edits
Cancel