MVC 2 – DataAnnotations

Download

Right click “Save as…”

  • WMV (WMV Video)
  • MP3 (Audio only)
  • MP4 (iPhone, Android)
  • Mid Quality WMV (Lo-band, Mobile)

af Daniel Frost

Fordelen ved at bruge ”data annotation validators” er, at de gør det muligt for dig at udføre validering, blot ved at tilføje en eller flere attributter på din type – såsom obligatorisk eller StringLength attributten. MVC 2 frameworket giver dig også mulighed for nemt at vise fejlmeddelser ved brugen af netop data annotations.

Tags:

Follow the Discussion

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.