protected void Page_Load(object sender, EventArgs e) { nValor unValorN = new nValor(); oValor unValorO = new oValor(); string sError = unValorN.Buscar_Uno(ref unValorO); lblValorVerde.Text = unValorO.Verde.ToString(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { nValor unValorN = new nValor(); oValor unValorO = new oValor(); string sError = unValorN.Buscar_Uno(ref unValorO); txtMiCodene.Text = unValorO.Verde.ToString(); txtDeTercerosCodene.Text = unValorO.Amarillo.ToString(); } }