how to add validation rule to data table in dataset

how to add validation rule to data table in dataset

Old forum URL: forums.lhotka.net/forums/t/6990.aspx


darshak posted on Saturday, May 23, 2009

hi,

i am using windows form application and using DataTable, to populate data. i want to add business validation rule , which validate data of datatable. i am not using any database to populate the data in data table. data in the datatable is calculated using some business logic. i want to validate all data in my datatable using validation rules.

Thanks.

RockfordLhotka replied on Saturday, May 23, 2009

Your business objects can encapsulate all the validation rules. This is a standard feature of CSLA .NET.

Copyright (c) Marimer LLC