title: Customising data annotations in dynamic data
body: <p>I have come across a scenerio that to customize DataAnnotations in Dynamic Data Web Application. This is the scenerio:</p>
  
  <p><strong>[Display(Name="DispName")]</strong></p>
  
  <p><strong>public string DName{get;set;}</strong></p>
  
  <p>Instead of hardcoding Name="DispName" for Display DataAnnotation, I want to fetch some value from DataBase and fit int the Name attribute. like:</p>
  
  <p><strong>[Display(Name=SomeValueFromDB)]</strong></p>
  
  <p><strong>public string DName{get;set;}</strong></p>
  
  <p>Is there any way to show the Name attribute of Display DataAnnotation from database instead of hardcoding its value?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Sujith</p>