private void getRepairByOther(string find) { List <RepairView> repairsView = sql.getRepairByOther(find); dataGridView1.ItemsSource = repairsView; dataGridView1.IsReadOnly = true; }