ASP.NET Tutorials
» ASP.NET MVC 2: Model Validation
Not Logged In.
Login
AspAlliance.com
Web
AspAlliance
Register
Edit My Profile
Author List
Write for Us
About AspAlliance
Contact Us
Privacy Policy
Link To Us
Advertise
Subscribe
Free Newsletter
Newsletter Archive
RSS Syndication
.NET Tutorials
Learn .NET
Learn WCF
Learn WPF
Learn ASP.NET
Learn AJAX
Learn Silverlight
Learn Visual Studio
Learn ADO.NET
Learn LINQ
Learn C# (CSharp)
Learn VB.NET
Learn Web Services
Learn Controls
Learn BizTalk
Learn SharePoint
Learn Mobile
Learn SQL
Learn SQL Reporting
Learn Windows Forms
Learn XML
Learn Crystal Reports
Learn FarPoint
Learn DevExpress
Examples
ASP.NET 2.0 Examples
ASP Tutorials
Learn ASP
Learn VBScript
Learn JScript
Learn SQL
Learn XML
Software Resources
Shopping Cart Ecommerce
Charts and Dashboards
Other Resources
Learn Java
Learn Oracle
Opinion / Editorial
Crystal Reports Alliance
WPF Resources
AJAX Resources
Silverlight Resources
Free Tools
Cache Manager
SimpleCMS
Reviews
Book Reviews
Product Reviews
Expert Advice
Books
ASP.NET Developer's Cookbook
Sample Chapters
Book Reviews
Community
Regular Expressions
Print
Add To Favorites
Email To Friend
Rate This Article
ASP.NET MVC 2: Model Validation
page
11 of
11
by
Scott Guthrie
Feedback
Average Rating:
This article has not yet been rated.
Views (Total / Last 10 Days):
44328
/
56
Article Contents
:
Introduction
ASP.NET MVC 2 Validation
Enabling Validation with ASP.NET MVC 2 and DataAnnotations
Step 1: Implementing a FriendsController (with no validation to begin with)
Step 2: Enabling Validation using DataAnnotations
Step 3: Enabling Client-side Validation
Step 4: Creating a Custom [Email] Validation Attribute
Step 5: Persisting to a Database
Last Step – Saving the Friend to the Database
Summary
Resources
Resources
Scott Guthrie
AspAdvice Forums
AspAdvice Mailing Lists
« (Page 10)
View Entire Article
User Comments
Title:
asa
Name:
sd
Date:
2012-11-12 9:15:33 AM
Comment:
sad
Product Spotlight
Community Advice:
ASP
|
SQL
|
XML
|
Regular Expressions
|
Windows
©Copyright 1998-2024 ASPAlliance.com | Page Processed at 2024-04-20 3:40:01 AM
About ASPAlliance
|
Newsgroups
|
Advertise
|
Authors
|
Email Lists
|
Feedback
|
Link To Us
|
Privacy
|
Search