Click here to Skip to main content
15,905,229 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Delete multiple rows from datagrid.Each row contain a checkbox.when 5 check box is checked and delete button pressed delete that 5 rows.

Have a look on following thread:
WPF 4 DataGrid: Delete Multiple Rows[^]
Share this answer
this.SampleDataGrid.ItemsSource as ObservableCollection<your bo="">;
then find the rows that are selected by using linq concept.
after that pass that observable collection database for delete.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900