private void returnHistShowAllButton_Click(object sender, RoutedEventArgs e) { DataTable dt = billData.ShowBillHistory(); dgvBillHistory.ItemsSource = dt.DefaultView; }