protected void lbtUpdateB_Click(object sender, EventArgs e) { try { BookingService.Booking_Update_Status(txtId.Text); BindGrid(); pnUpdate.Visible = false; pnView.Visible = true; } catch (Exception ex) { WebMsgBox.Show(ex.Message); } }