I have made a delete/clear button that works, but after using it I cannot make a new search...I also have a refresh button that doesn't work at all. I want to be able to make a ned search and I thought I could use the refresh button for this.
Can you help me? If you can, please explain it for me with an example.
private void Button_Click(object sender, RoutedEventArgs e)
{
    dataGridTest.ItemsSource = null; 
}
private void Refresh_Click(object sender, RoutedEventArgs e)
{
    dataGridTest.Items.Refresh();
}
 
     
     
    