private void search(object sender, EventArgs e) { string search = searchTextBox.Text; if (search == "" || search == "What do you want to seach?") { dataGrid.DataSource = controller.ViewAll(); } else { dataGrid.DataSource = controller.Search(search); } }