private void Calificar()
        {
            SQL_registro sql = new SQL_registro();

            int nota = 0;
            int nota_final = 0;

            if (Exam_1.resppreg1 == true)
            {
                nota += 1;
            }

            if (Exam_1.resppreg2 == true)
            {
                nota += 1;
            }

            if (Exam_1.resppreg3 == true)
            {
                nota += 1;
            }

            if (Exam_1.resppreg4 == true)
            {
                nota += 1;
            }

            if (Exam_1.resppreg5 == true)
            {
                nota += 1;
            }

            if (Exam_2.resppreg6 == true)
            {
                nota += 1;
            }

            if (Exam_2.resppreg7 == true)
            {
                nota += 1;
            }

            if (Exam_2.resppreg8 == true)
            {
                nota += 1;
            }

            if (Exam_2.resppreg9 == true)
            {
                nota += 1;
            }

            if (Exam_2.resppreg10 == true)
            {
                nota += 1;
            }

            if (Exam_3.resppreg11 == true)
            {
                nota += 1;
            }

            if (Exam_3.resppreg12 == true)
            {
                nota += 1;
            }

            if (Exam_3.resppreg13 == true)
            {
                nota += 1;
            }

            if (Exam_3.resppreg14 == true)
            {
                nota += 1;
            }

            if (Exam_3.resppreg15 == true)
            {
                nota += 1;
            }

            if (Exam_4.resppreg16 == true)
            {
                nota += 1;
            }

            if (Exam_4.resppreg17 == true)
            {
                nota += 1;
            }

            if (Exam_4.resppreg18 == true)
            {
                nota += 1;
            }

            if (Exam_4.resppreg19 == true)
            {
                nota += 1;
            }

            if (Exam_4.resppreg20 == true)
            {
                nota += 1;
            }

            if (Exam_5.resppreg21 == true)
            {
                nota += 1;
            }

            if (Exam_5.resppreg22 == true)
            {
                nota += 1;
            }

            if (Exam_5.resppreg23 == true)
            {
                nota += 1;
            }

            if (Exam_5.resppreg24 == true)
            {
                nota += 1;
            }

            if (Exam_5.resppreg25 == true)
            {
                nota += 1;
            }

            if (Exam_6.resppreg26 == true)
            {
                nota += 1;
            }

            if (Exam_6.resppreg27 == true)
            {
                nota += 1;
            }

            if (Exam_6.resppreg28 == true)
            {
                nota += 1;
            }

            if (Exam_6.resppreg29 == true)
            {
                nota += 1;
            }

            if (Exam_6.resppreg30 == true)
            {
                nota += 1;
            }

            if (Exam_7.resppreg31 == true)
            {
                nota += 1;
            }

            if (Exam_7.resppreg32 == true)
            {
                nota += 1;
            }

            if (Exam_7.resppreg33 == true)
            {
                nota += 1;
            }

            if (Exam_7.resppreg34 == true)
            {
                nota += 1;
            }

            if (Exam_7.resppreg35 == true)
            {
                nota += 1;
            }

            if (Exam_8.resppreg36 == true)
            {
                nota += 1;
            }

            if (Exam_8.resppreg37 == true)
            {
                nota += 1;
            }

            if (Exam_8.resppreg38 == true)
            {
                nota += 1;
            }

            if (Exam_8.resppreg39 == true)
            {
                nota += 1;
            }

            if (Exam_8.resppreg40 == true)
            {
                nota += 1;
            }

            if (Exam_9.resppreg41 == true)
            {
                nota += 1;
            }

            if (Exam_9.resppreg42 == true)
            {
                nota += 1;
            }

            if (Exam_9.resppreg43 == true)
            {
                nota += 1;
            }

            if (Exam_9.resppreg44 == true)
            {
                nota += 1;
            }

            if (Exam_9.resppreg45 == true)
            {
                nota += 1;
            }

            if (Exam_10.resppreg46 == true)
            {
                nota += 1;
            }

            if (Exam_10.resppreg47 == true)
            {
                nota += 1;
            }

            if (Exam_10.resppreg48 == true)
            {
                nota += 1;
            }

            if (Exam_10.resppreg49 == true)
            {
                nota += 1;
            }

            if (Exam_10.resppreg50 == true)
            {
                nota += 1;
            }

            if (Exam_11.resppreg51 == true)
            {
                nota += 1;
            }

            if (Exam_11.resppreg52 == true)
            {
                nota += 1;
            }

            if (Exam_11.resppreg53 == true)
            {
                nota += 1;
            }

            if (Exam_11.resppreg54 == true)
            {
                nota += 1;
            }

            if (Exam_11.resppreg55 == true)
            {
                nota += 1;
            }

            if (Exam_12.resppreg56 == true)
            {
                nota += 1;
            }

            if (Exam_12.resppreg57 == true)
            {
                nota += 1;
            }

            if (Exam_12.resppreg58 == true)
            {
                nota += 1;
            }

            if (Exam_12.resppreg59 == true)
            {
                nota += 1;
            }

            if (Exam_12.resppreg60 == true)
            {
                nota += 1;
            }

            if (Exam_13.resppreg61 == true)
            {
                nota += 1;
            }

            if (Exam_13.resppreg62 == true)
            {
                nota += 1;
            }

            if (Exam_13.resppreg63 == true)
            {
                nota += 1;
            }

            if (Exam_13.resppreg64 == true)
            {
                nota += 1;
            }

            if (Exam_13.resppreg65 == true)
            {
                nota += 1;
            }

            if (Exam_14.resppreg66 == true)
            {
                nota += 1;
            }

            if (Exam_14.resppreg67 == true)
            {
                nota += 1;
            }

            if (Exam_14.resppreg68 == true)
            {
                nota += 1;
            }

            if (Exam_14.resppreg69 == true)
            {
                nota += 1;
            }

            if (Exam_14.resppreg70 == true)
            {
                nota += 1;
            }

            if (Exam_15.resppreg71 == true)
            {
                nota += 1;
            }

            if (Exam_15.resppreg72 == true)
            {
                nota += 1;
            }

            if (Exam_15.resppreg73 == true)
            {
                nota += 1;
            }

            if (Exam_15.resppreg74 == true)
            {
                nota += 1;
            }

            if (Exam_15.resppreg75 == true)
            {
                nota += 1;
            }

            nota_final = (nota * 100) / 75;

            lblnota.Text = nota_final.ToString();

            sql.Registro();
        }
        private void Calificar()
        {
            SQL_registro sql = new SQL_registro();

            int nota = 0;
            int nota_final = 0;

            if (sql.Resp1 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp2 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp3 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp4 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp5 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp6 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp7 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp8 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp9 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp10 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp11 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp12 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp13 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp14 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp15 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp16 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp17 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp18 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp19 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp20 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp21 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp22 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp23 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp24 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp25 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp26 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp27 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp28 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp29 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp30 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp31 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp32 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp33 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp34 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp35 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp36 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp37 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp38 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp39 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp40 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp41 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp42 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp43 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp44 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp45 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp46 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp47 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp48 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp49 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp50 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp51 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp52 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp53 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp54 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp55 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp56 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp57 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp58 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp59 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp60 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp61 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp62 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp63 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp64 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp65 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp66 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp67 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp68 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp69 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp70 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp71 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp72 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp73 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp74 == "Correcta")
            {
                nota += 1;
            }

            if (sql.Resp75 == "Correcta")
            {
                nota += 1;
            }

            nota_final = (nota * 100) / 75;

            lblnota.Text = nota_final.ToString();

            SQL_registro.Nota = nota_final;

            sql.Registro();
        }