Click here to Skip to main content
14,878,761 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.
Posted

Have a look on following thread:
WPF 4 DataGrid: Delete Multiple Rows[^]
   
set
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.
   

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