private void SearchButton_Click(object sender, EventArgs e) { string appointmentId = SearchBar.Text; form = SqlUpdater.GetAppointmentDetails(appointmentId); TeamIdBox.Text = form["customerId"]; TypeBox.Text = form["type"]; StartTimeBox.Text = SqlUpdater.ConvertToTimezone(form["start"]); EndTimeBox.Text = (SqlUpdater.ConvertToTimezone(form["end"])); }