Validating datagrid values

It does fine at checking for nulls, data types, max, min, and values that match an explicitly entered list.

For this we had a static property in our view model named Errors.

I've got quite a few that must be 0,1, or 9 (no, yes and unknown), three that can be 0,1,2..10 or 99.

It's those where I'd like to use the external table.

Visit Stack Exchange Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. Sign up to join this community interface to the button, that resides in the View Model.

However the data grid complicates things, and I find myself going back and forth between doing data validation in the View Model or in the View itself.

Leave a Reply