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

            Image61.ImageUrl = ("~/ImagenesDePreguntas/61.jpg");
            lblpregunta61.Text = nva.Preg1;
            rdbres1preg61.Text = nva.Op1;
            rdbres2preg61.Text = nva.Op2;
            rdbres3preg61.Text = nva.Op3;
            rdbres4preg61.Text = nva.Op4;
            resppreg61 = nva.Resp.TrimEnd();

            nva.JalarPreg62();

            Image62.ImageUrl = ("~/ImagenesDePreguntas/62.jpg");
            lblpregunta62.Text = nva.Preg1;
            rdbres1preg62.Text = nva.Op1;
            rdbres2preg62.Text = nva.Op2;
            rdbres3preg62.Text = nva.Op3;
            rdbres4preg62.Text = nva.Op4;
            resppreg62 = nva.Resp.TrimEnd();

            nva.JalarPreg63();

            Image63.ImageUrl = ("~/ImagenesDePreguntas/63.jpg");
            lblpregunta63.Text = nva.Preg1;
            rdbres1preg63.Text = nva.Op1;
            rdbres2preg63.Text = nva.Op2;
            rdbres3preg63.Text = nva.Op3;
            rdbres4preg63.Text = nva.Op4;
            resppreg63 = nva.Resp.TrimEnd();

            nva.JalarPreg64();

            Image64.ImageUrl = ("~/ImagenesDePreguntas/64.jpg");
            lblpregunta64.Text = nva.Preg1;
            rdbres1preg64.Text = nva.Op1;
            rdbres2preg64.Text = nva.Op2;
            rdbres3preg64.Text = nva.Op3;
            rdbres4preg64.Text = nva.Op4;
            resppreg64 = nva.Resp.TrimEnd();

            nva.JalarPreg65();

            Image65.ImageUrl = ("~/ImagenesDePreguntas/65.jpg");
            lblpregunta65.Text = nva.Preg1;
            rdbres1preg65.Text = nva.Op1;
            rdbres2preg65.Text = nva.Op2;
            rdbres3preg65.Text = nva.Op3;
            rdbres4preg65.Text = nva.Op4;
            resppreg65 = nva.Resp.TrimEnd();
        }