CHAPTER 5
Validating Data
There’s an old saying in IT: garbage in, garbage out. In essence, it means that if you enter nonsense data into a computer system, the results of any processing will also be rubbish. Fortunately, LightSwitch makes it easy for you to ensure that users can enter only clean data.
In this chapter, you’ll learn how to do the following:
- Define data rules by using the table designer
- Write validation code that runs on the server
- Create validation code that runs only on the client
This chapter extends the HelpDesk application and shows you examples of how to apply validation rules. When a manager attempts to save an engineer ...
Get Visual Studio LightSwitch 2012 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.