public void obtenerVoucher() { dtosol.PK_IS_Cod = Convert.ToInt32(Session["idSolicitudPago"].ToString()); dtopago.FK_IS_Cod = Convert.ToInt32(Session["idSolicitudPago"].ToString()); dtovoucher.PK_VV_NumVoucher = ctrsol.HayPago(dtosol); ctrsol.LeerSolicitudTipo(dtosol); if (ctrvoucher.hayVoucher(dtovoucher)) { //string image = Convert.ToBase64String(dtovoucher.VBV_Foto); //Image1.ImageUrl = "data:Image/png;base64," + image; ctrpago.HayRUC(dtopago); txtNumOperacion.Text = dtovoucher.PK_VV_NumVoucher.ToString(); txtmonto.Text = dtovoucher.DV_ImporteDepositado.ToString(); } }