private void btnSubmit_Click(object sender, EventArgs e) { string id = tbRestId.Text; var restResult = RestaurantController.GetRestaurant(id); if (restResult != null) { var ds = ReviewController.GetSomeReview(id); dataGridView1.DataSource = ds; } else { MessageBox.Show("Review Not Found"); } }