protected void FindHospitalButton_Click(object sender, EventArgs e) { // set the search criteria SetSearchCriteria(); // rebind the data AllHospitalsGridView.DataBind(); }
protected void Button3_Click(object sender, EventArgs e) { // empty the textbox FindHospitalTextBox.Text = ""; // set the search criteria SetSearchCriteria(); // rebind the data AllHospitalsGridView.DataBind(); }
/// <summary> /// talk the to the web service to update the data /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Timer1_Tick(object sender, EventArgs e) { AllHospitalsGridView.DataBind(); }