private void CargaPrestaciones() { TrxTIPO_PRESTACION prestacion = new TrxTIPO_PRESTACION(); ddlTipoPrestacion.DataSource = prestacion.GetAll(); ddlTipoPrestacion.DataBind(); }
private void getTipoPrestacion() { TrxTIPO_PRESTACION _trx = new TrxTIPO_PRESTACION(); ddlTipoPrestacion.Items.Clear(); ddlTipoPrestacion.Items.Add(new ListItem("(Todos)", "")); ddlTipoPrestacion.DataSource = _trx.GetAll(); ddlTipoPrestacion.DataBind(); }
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; } }