O'Reilly logo

Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 by Peter Vogel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Case Study: Generating Validation Code

ASP.NET provides a range of validation controls, but noticeable by its absence is a control that validates data by checking it against a value in a table. This case study uses code generation in combination with an ASP.NET validation control to fill that gap. At the end of this chapter, I also use some of the project-specific objects described ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required