Exemple #1
0
        protected void lkAnular_Click(object sender, EventArgs e)
        {
            ReservaDao oreserva = new ReservaDao();
            String     anular   = oreserva.delCita(txtCod.Text);

            Panel1.Visible = false;
            PnAnu.Visible  = true;
        }
Exemple #2
0
        protected void LinkButton4_Click(object sender, EventArgs e)
        {
            ReservaDao reservaDao = new ReservaDao();

            reservaDao.delCita((String)ViewState["CodCita"]);
            grdHistorico.DataSource = reservaDao.GetCitaHistorica((String)ViewState["Rut"], DateTime.Now.ToString("ddMMyyyy"), "31122999");
            grdHistorico.DataBind();
            pnAnular.Visible = false;
            //LinkButton3_ModalPopupExtender.Hide();
        }