Skip to Main Content
Pro Visual Studio LightSwitch 2011 Development
book

Pro Visual Studio LightSwitch 2011 Development

by Tim Leung, Yann Duran
March 2012
Intermediate to advanced content levelIntermediate to advanced
734 pages
17h 10m
English
Apress
Content preview from Pro Visual Studio LightSwitch 2011 Development

C H A P T E R  5

Validating Data

There's an old saying in IT: garbage in, garbage out. You may have heard this saying or perhaps even a stronger variation of the same adage. In essence, it means that if you enter nonsense data into a computer system, the results of any processing will also be rubbish. Any robust computer system needs to ensure that quality data is entered into the system.

Fortunately, LightSwitch allows you to apply validation and business rules in several places throughout your application. First, you can easily apply validation declaratively by using the table designer. Any screens that you create in LightSwitch will then automatically validate the data type and length of the data that you have defined. If the data length ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applying COM+

Applying COM+

Gregory Brill
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 9781430240082Purchase book