private void txt_Brand_TextChanged(object sender, System.Windows.Controls.TextChangedEventArgs e) { connect = new CTUConnection(); // refreshens the 'CTUConnection' class // connect.SelectWareHouseVehicle(); //*Selects the specified columns in the Patient table*// connect.SearchWareHouseBrand(txt_Brand.Text); //Searches the customer's 'name' within the populated table// DGV_Warehouse.ItemsSource = connect.dataset; //*All the selected fields are filtered inside the table and stored inside the grid-view*// }