Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

How Do I: Add Validation?

Visual Basic programmers will see how to add field and row validation to an application in order to enforce business rules using the DataSet Designer and partial classes.

By: Beth Massi

Comments

Daniel B. said:

Where shwowing the Customer object using the Details view (Form2), how do you enable the following functionality, which I am surprised is not enabled by default:

When the user tries to navigate from the current record, by pressing any of the BindingNavigator buttons, all the business rules should be checked and if there is any error, the action should be cancelled.

# August 15, 2008 11:57 AM

bhuven said:

Thanks for thsi very well presented lesson. Is the sample code avaiable in for C#

# November 11, 2009 1:57 AM

bhuven said:

Hi Beth. Thanks for an excellent presentation. Is there sample code for C# as well

# November 11, 2009 1:59 AM