private void LlenarCuentas()
        {
            List <Cuentas> Lista = CuentasBLL.GetListAll();

            CuentaDropDownList.DataSource     = Lista;
            CuentaDropDownList.DataValueField = "CuentaId";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
        }
        //Listo
        private void LlenarCombos()
        {
            RepositorioBase <Cuentas> repositorio = new RepositorioBase <Cuentas>();

            CuentaDropDownList.DataSource     = repositorio.GetList(c => true);
            CuentaDropDownList.DataValueField = "CuentaId";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
        }
示例#3
0
        private void LlenaComboCuentaID()
        {
            RepositorioBase <Cuentas> cuentas = new RepositorioBase <Cuentas>();

            CuentaDropDownList.Items.Clear();
            CuentaDropDownList.DataSource     = cuentas.GetList(x => true);
            CuentaDropDownList.DataValueField = "CuentaID";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
        }
        private void LlenarComboBox()
        {
            RepositorioBase <CuentasBancarias> rb = new RepositorioBase <CuentasBancarias>();

            CuentaDropDownList.DataSource     = rb.GetList(x => true);
            CuentaDropDownList.DataValueField = "CuentaId";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
            CuentaDropDownList.Items.Insert(0, new ListItem("", ""));
        }
示例#5
0
        private void LlenarDropDown()
        {
            Repositorio <Cuentas> rep = new Repositorio <Cuentas>();

            CuentaDropDownList.DataSource     = rep.GetList(x => true);
            CuentaDropDownList.DataValueField = "CuentaId";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
            CuentaDropDownList.Items.Insert(0, new ListItem("", ""));
        }
        private void LlenarDropDownCuentas()
        {
            RepositorioBase <Cuentas> repositorioBase = new RepositorioBase <Cuentas>();

            CuentaDropDownList.DataSource           = repositorioBase.GetList(x => true);
            CuentaDropDownList.DataValueField       = "CuentaID";
            CuentaDropDownList.DataTextField        = "Nombre";
            CuentaDropDownList.AppendDataBoundItems = true;
            CuentaDropDownList.DataBind();
        }
示例#7
0
 private void LlenaComboCuenta()
 {
     BLL.RepositorioBase <CuentaBancaria> repositorioCuenta = new BLL.RepositorioBase <CuentaBancaria>();
     CuentaDropDownList.Items.Clear();
     CuentaDropDownList.Items.Add(condicion);
     CuentaDropDownList.DataSource     = repositorioCuenta.GetList(x => true);
     CuentaDropDownList.DataValueField = "CuentaId";
     CuentaDropDownList.DataTextField  = "Nombre";
     CuentaDropDownList.DataBind();
 }
示例#8
0
        private void LlenarCombo()
        {
            RepositorioBase <Cuenta> repositorio = new RepositorioBase <Cuenta>();

            CuentaDropDownList.DataSource     = repositorio.GetList(c => true);
            CuentaDropDownList.DataValueField = "CuentaID";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();
            CuentaDropDownList.Items.Insert(0, new ListItem("", ""));
        }
示例#9
0
        private void LlenarCombo()
        {
            RepositorioBase <CuentasBancarias> repositorio = new RepositorioBase <CuentasBancarias>();

            CuentaDropDownList.DataSource     = repositorio.GetList(m => true);
            CuentaDropDownList.DataValueField = "CuentaId";
            CuentaDropDownList.DataTextField  = "Nombre";
            CuentaDropDownList.DataBind();

            ViewState["Prestamos"] = new Prestamos();
        }
示例#10
0
 public void Limpiar()
 {
     FechaTexBox.Text = DateTime.Now.ToString();
     MontoTexBox.Text = "";
     CuentaDropDownList.ClearSelection();
     MiembroDropDownList.ClearSelection();
     TipoIngresoDropDownList.ClearSelection();
     ObservacionTexBox.Text          = "";
     RequiredFieldValidator1.IsValid = true;
     RequiredFieldValidator2.IsValid = true;
     RequiredFieldValidator3.IsValid = true;
 }
示例#11
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Cuenta CB = new Cuenta();

            if (!Page.IsPostBack)
            {
                RepositorioBase <Cuenta> repositorio = new RepositorioBase <Cuenta>();

                CuentaDropDownList.DataSource     = repositorio.GetList(t => true);
                CuentaDropDownList.DataValueField = "CuentaID";
                CuentaDropDownList.DataTextField  = "Nombre";
                CuentaDropDownList.DataBind();

                ViewState["Deposito"] = new Deposito();
            }
        }
示例#12
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                FechaTexBox.Text = DateTime.Now.ToString();

                MiembroDropDownList.DataSource     = Miembro.Listado(" * ", "1=1", "");
                MiembroDropDownList.DataTextField  = "Nombre";
                MiembroDropDownList.DataValueField = "MiembroId";
                MiembroDropDownList.DataBind();

                CuentaDropDownList.DataSource     = Cuenta.Listado(" * ", "1=1", "");
                CuentaDropDownList.DataTextField  = "Descripcion";
                CuentaDropDownList.DataValueField = "CuentaId";
                CuentaDropDownList.DataBind();

                TipoIngresoDropDownList.DataSource     = TipodeIngreso.Listado(" * ", "1=1", "");
                TipoIngresoDropDownList.DataTextField  = "Descripcion";
                TipoIngresoDropDownList.DataValueField = "TipoIngresoId";
                TipoIngresoDropDownList.DataBind();
            }
        }