This question is locked. New answers and comments are not allowed.
I know this is probably a fundamental question, but can someone tell me how to delete all the rows from a gridview?
I am modifiying someone elses code so am missing something.
When I tried grid.Items.Clear() , i get the error "ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead."
How do i clear the rows from ItemsSource?
I am modifiying someone elses code so am missing something.
When I tried grid.Items.Clear() , i get the error "ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead."
How do i clear the rows from ItemsSource?