示例#1
0
        protected void cargar()
        {
            SQL_conection nva = new SQL_conection();
            nva.JalarPreg36();

            Image36.ImageUrl = ("~/ImagenesDePreguntas/36.jpg");
            lblpregunta36.Text = nva.Preg1;
            rdbres1preg36.Text = nva.Op1;
            rdbres2preg36.Text = nva.Op2;
            rdbres3preg36.Text = nva.Op3;
            rdbres4preg36.Text = nva.Op4;
            resppreg36 = nva.Resp.TrimEnd();

            nva.JalarPreg37();

            Image37.ImageUrl = ("~/ImagenesDePreguntas/37.jpg");
            lblpregunta37.Text = nva.Preg1;
            rdbres1preg37.Text = nva.Op1;
            rdbres2preg37.Text = nva.Op2;
            rdbres3preg37.Text = nva.Op3;
            rdbres4preg37.Text = nva.Op4;
            resppreg37 = nva.Resp.TrimEnd();

            nva.JalarPreg38();

            Image38.ImageUrl = ("~/ImagenesDePreguntas/38.jpg");
            lblpregunta38.Text = nva.Preg1;
            rdbres1preg38.Text = nva.Op1;
            rdbres2preg38.Text = nva.Op2;
            rdbres3preg38.Text = nva.Op3;
            rdbres4preg38.Text = nva.Op4;
            resppreg38 = nva.Resp.TrimEnd();

            nva.JalarPreg39();

            Image39.ImageUrl = ("~/ImagenesDePreguntas/39.jpg");
            lblpregunta39.Text = nva.Preg1;
            rdbres1preg39.Text = nva.Op1;
            rdbres2preg39.Text = nva.Op2;
            rdbres3preg39.Text = nva.Op3;
            rdbres4preg39.Text = nva.Op4;
            resppreg39 = nva.Resp.TrimEnd();

            nva.JalarPreg40();

            Image40.ImageUrl = ("~/ImagenesDePreguntas/40.jpg");
            lblpregunta40.Text = nva.Preg1;
            rdbres1preg40.Text = nva.Op1;
            rdbres2preg40.Text = nva.Op2;
            rdbres3preg40.Text = nva.Op3;
            rdbres4preg40.Text = nva.Op4;
            resppreg40 = nva.Resp.TrimEnd();
        }