O'Reilly logo

Visual Studio LightSwitch 2015, Second Edition by Tim Leung

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 7

image

Validating Data

An age-old problem with computer systems is this: garbage in, garbage out. When users enter incomplete or inaccurate data into a computer system, the result of any processing will be of equally poor quality. Luckily, LightSwitch provides a host of features to help keep your data clean. In this chapter, I’ll show you how to do the following:

  • create data-valuation rules by using the table designer
  • define more sophisticated rules by writing code that runs on the server
  • define screen-specific rules by writing code that runs only on the client

In this chapter, I’ll show you how to create conditional rules; for example, if ...

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