Exemplo n.º 1
0
        protected void EditSocioSt_Refresh(object sender, StoreRefreshDataEventArgs e)
        {
            try
            {
                string strESTADOS_NOTA_ID_ACTUAL = e.Parameters["ESTADOS_NOTA_ID_ACTUAL"];

                if (string.IsNullOrEmpty(strESTADOS_NOTA_ID_ACTUAL))
                    return;

                NotaDePesoLogic notalogic = new NotaDePesoLogic();

                int ESTADOS_NOTA_ID_ACTUAL = Convert.ToInt32(strESTADOS_NOTA_ID_ACTUAL);

                this.EditSocioSt.DataSource = notalogic.GetSocios(ESTADOS_NOTA_ID_ACTUAL);
                this.EditEstadosNotaSt.DataBind();
            }
            catch (Exception ex)
            {
                log.Fatal("Error fatal al obtener estados de nota de peso para actualizar.", ex);
                throw;
            }
        }