Exemplo n.º 1
0
        protected void cargar()
        {
            SQL_conection nva = new SQL_conection();
            nva.JalarPreg46();

            Image46.ImageUrl = ("~/ImagenesDePreguntas/46.jpg");
            lblpregunta46.Text = nva.Preg1;
            rdbres1preg46.Text = nva.Op1;
            rdbres2preg46.Text = nva.Op2;
            rdbres3preg46.Text = nva.Op3;
            rdbres4preg46.Text = nva.Op4;
            resppreg46 = nva.Resp.TrimEnd();

            nva.JalarPreg47();

            Image47.ImageUrl = ("~/ImagenesDePreguntas/47.jpg");
            lblpregunta47.Text = nva.Preg1;
            rdbres1preg47.Text = nva.Op1;
            rdbres2preg47.Text = nva.Op2;
            rdbres3preg47.Text = nva.Op3;
            rdbres4preg47.Text = nva.Op4;
            resppreg47 = nva.Resp.TrimEnd();

            nva.JalarPreg48();

            Image48.ImageUrl = ("~/ImagenesDePreguntas/48.jpg");
            lblpregunta48.Text = nva.Preg1;
            rdbres1preg48.Text = nva.Op1;
            rdbres2preg48.Text = nva.Op2;
            rdbres3preg48.Text = nva.Op3;
            rdbres4preg48.Text = nva.Op4;
            resppreg48 = nva.Resp.TrimEnd();

            nva.JalarPreg49();

            Image49.ImageUrl = ("~/ImagenesDePreguntas/49.jpg");
            lblpregunta49.Text = nva.Preg1;
            rdbres1preg49.Text = nva.Op1;
            rdbres2preg49.Text = nva.Op2;
            rdbres3preg49.Text = nva.Op3;
            rdbres4preg49.Text = nva.Op4;
            resppreg49 = nva.Resp.TrimEnd();

            nva.JalarPreg50();

            Image50.ImageUrl = ("~/ImagenesDePreguntas/50.jpg");
            lblpregunta50.Text = nva.Preg1;
            rdbres1preg50.Text = nva.Op1;
            rdbres2preg50.Text = nva.Op2;
            rdbres3preg50.Text = nva.Op3;
            rdbres4preg50.Text = nva.Op4;
            resppreg50 = nva.Resp.TrimEnd();
        }