WPF DataGrid row validation error count

Posted by SuperFloh1234 on Stack Overflow See other posts from Stack Overflow or by SuperFloh1234
Published on 2010-04-18T19:50:03Z Indexed on 2010/04/18 19:53 UTC
Read the original article Hit count: 303

Filed under:
|
|
|
|

Hi!

I'm currently facing the problem, that I import an Excel file to a DataGrid. This works pretty fine, but after importing the table, I need to know how many rows are invalid.

I have applied several validation rules for the different datatypes, and I have an icon in the row header, that shows up if the row is invalid. But since I have more that 10.000 rows in the grid, I don't want scroll all the way through it to find the errors.

Any ideas, how to determine the count of invalid rows (and then maybe bind that to a textbox)?

Thx

© Stack Overflow or respective owner

Related posts about wpf

Related posts about datagrid