Beispiel #1
0
        private void CargaPrestaciones()
        {
            TrxTIPO_PRESTACION prestacion = new TrxTIPO_PRESTACION();

            ddlTipoPrestacion.DataSource = prestacion.GetAll();
            ddlTipoPrestacion.DataBind();
        }
Beispiel #2
0
        private void getTipoPrestacion()
        {
            TrxTIPO_PRESTACION _trx = new TrxTIPO_PRESTACION();

            ddlTipoPrestacion.Items.Clear();
            ddlTipoPrestacion.Items.Add(new ListItem("(Todos)", ""));
            ddlTipoPrestacion.DataSource = _trx.GetAll();
            ddlTipoPrestacion.DataBind();
        }
Beispiel #3
0
 private void getTipoPrestacion()
 {
     try
     {
         TrxTIPO_PRESTACION _trx = new TrxTIPO_PRESTACION();
         ddlTipoPrestacion.Items.Clear();
         ddlTipoPrestacion.Items.Add(new ListItem("(Todos)", ""));
         ddlTipoPrestacion.DataSource = _trx.GetAll();
         ddlTipoPrestacion.DataBind();
     }
     catch (Exception ex)
     {
         ISException.RegisterExcepcion(ex);
         panelMensaje.CssClass = "MostrarMensaje";
         lblMensaje.Text       = ex.Message;
         return;
     }
 }