Пример #1
0
        protected void cargar()
        {
            SQL_conection nva = new SQL_conection();
            nva.JalarPreg56();

            Image56.ImageUrl = ("~/ImagenesDePreguntas/56.jpg");
            lblpregunta56.Text = nva.Preg1;
            rdbres1preg56.Text = nva.Op1;
            rdbres2preg56.Text = nva.Op2;
            rdbres3preg56.Text = nva.Op3;
            rdbres4preg56.Text = nva.Op4;
            resppreg56 = nva.Resp.TrimEnd();

            nva.JalarPreg57();

            Image57.ImageUrl = ("~/ImagenesDePreguntas/57.jpg");
            lblpregunta57.Text = nva.Preg1;
            rdbres1preg57.Text = nva.Op1;
            rdbres2preg57.Text = nva.Op2;
            rdbres3preg57.Text = nva.Op3;
            rdbres4preg57.Text = nva.Op4;
            resppreg57 = nva.Resp.TrimEnd();

            nva.JalarPreg58();

            Image58.ImageUrl = ("~/ImagenesDePreguntas/58.jpg");
            lblpregunta58.Text = nva.Preg1;
            rdbres1preg58.Text = nva.Op1;
            rdbres2preg58.Text = nva.Op2;
            rdbres3preg58.Text = nva.Op3;
            rdbres4preg58.Text = nva.Op4;
            resppreg58 = nva.Resp.TrimEnd();

            nva.JalarPreg59();

            Image59.ImageUrl = ("~/ImagenesDePreguntas/59.jpg");
            lblpregunta59.Text = nva.Preg1;
            rdbres1preg59.Text = nva.Op1;
            rdbres2preg59.Text = nva.Op2;
            rdbres3preg59.Text = nva.Op3;
            rdbres4preg59.Text = nva.Op4;
            resppreg59 = nva.Resp.TrimEnd();

            nva.JalarPreg60();

            Image60.ImageUrl = ("~/ImagenesDePreguntas/60.jpg");
            lblpregunta60.Text = nva.Preg1;
            rdbres1preg60.Text = nva.Op1;
            rdbres2preg60.Text = nva.Op2;
            rdbres3preg60.Text = nva.Op3;
            rdbres4preg60.Text = nva.Op4;
            resppreg60 = nva.Resp.TrimEnd();
        }