private void CargarCodigoBarra(string valor) { if (string.IsNullOrWhiteSpace(valor)) { return; } ALCSA.Negocio.Documentos.Fisicos.CodigoBarra objCodigo = new ALCSA.Negocio.Documentos.Fisicos.CodigoBarra(valor); if (objCodigo.ID < 1) { return; } hdfRuta.Value = objCodigo.RutaMantenedor; }
protected void Page_Load(object sender, EventArgs e) { string strValor = ALCSA.FWK.Web.Sitio.ExtraerValorQueryString(Request, "codigo"); if (string.IsNullOrWhiteSpace(strValor)) { return; } ALCSA.Negocio.Documentos.Fisicos.CodigoBarra objCodigo = new ALCSA.Negocio.Documentos.Fisicos.CodigoBarra(strValor); if (objCodigo.ID < 1) { return; } Session["RUTA_CODIGO_BARRA_QR"] = objCodigo.RutaMantenedor; }