2
fairs
spam fair unfair

Web 2.0 | Form validation with ASP.NET MVC using IErrorDataInfo Interface

posted by adminadmin 905 days, 11 hours, 29 minutes ago
Thursday, August 13, 2009 4:29:58 PM GMT

As I already shown in my previous article Form validation with ASP.NET MVC. In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.public interface IDataErrorInfo{    // Properties    string Error { get; }    string this[string columnName] { get; }} We will modifylast articlethat will implementIErrorDataInfo Interface. To implement the IDataErrorInfo interface, we must create a partial class....

category: ASP.NET | clicked: 5 | | source: www.fairnet.com | show counter code
tags: asp.net MVC, C#

No comments yet, be the first one to post comment.

To post your comment please login or signup