.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

.asp MVC DataValidation

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :ASP.Net

i want to valdiate data for classes generated by linq to sql.  I was doing exacly what they say in that article: http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx

And it was ok but only for class with public filds. When I try to do that to class generated by VS(by linq to sql like i said) it simply doesn't work. Ofcorse when i change private fild into public all generated methods scream like hell. So my qestion is how to make it work with private filds of classes.

If this topic double others then sorry but search on this web gives me an error so...

Thankhs for help!;)

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend