protected void gvStartExam_ItemCommand(object sender, GridCommandEventArgs e)
        {
            string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
            if (commandArgs[1].ToString() == "5") // LEVEL AA
            {
                if (commandArgs[2].ToString() != "1")
                {
                    Session["isexamiFACE"] = "0";
                    Response.Redirect("Systemreadiness.aspx?TransID=" + AppSecurity.Encrypt(commandArgs[0].ToString()), false);
                }
                else
                {
                    Session["isexamiFACE"] = "0";
                    Response.Redirect("Systemreadiness.aspx?TransID=" + AppSecurity.Encrypt(commandArgs[0].ToString()), false);
                }
            }
            else
            {
                BEStudent objBEStudent = new BEStudent();
                BStudent  objBStudent  = new BStudent();
                objBEStudent.IntUserID  = Convert.ToInt32(Session[EnumPageSessions.USERID].ToString());
                objBEStudent.IntTransID = Convert.ToInt64(commandArgs[0].ToString());
                objBStudent.BCheckExamStartTime(objBEStudent);
                if (objBEStudent.DtResult != null && objBEStudent.DtResult.Rows.Count > 0)
                {
                    if (Convert.ToInt32(objBEStudent.DtResult.Rows[0]["Result"]) == 1)
                    {
                        objBStudent.BSetStudentStartExamFlag(objBEStudent);
                        if (Convert.ToBoolean(objBEStudent.DtResult.Rows[0]["isexamiFACE"]) == true)
                        {
                            Session["isexamiFACE"] = "1";
                            this.CaptureOsAndBrowser(Convert.ToInt64(commandArgs[0].ToString()));
                            Response.Redirect("Systemreadiness.aspx?TransID=" + AppSecurity.Encrypt(commandArgs[0].ToString()), false);
                        }
                        else if (Convert.ToBoolean(objBEStudent.DtResult.Rows[0]["ExamiKey"]) == true)
                        {
                            Session["isexamiFACE"] = "0";
                            this.CaptureOsAndBrowser(Convert.ToInt64(commandArgs[0].ToString()));
                            Response.Redirect("StudentExamProcess.aspx?TransID=" + AppSecurity.Encrypt(commandArgs[0].ToString()) + "&&ExamiKEY=" + AppSecurity.Encrypt("1"), false);
                        }
                        else
                        {
                            Session["isexamiFACE"] = "0";
                            this.CaptureOsAndBrowser(Convert.ToInt64(commandArgs[0].ToString()));
                            Response.Redirect("StudentExamProcess.aspx?TransID=" + AppSecurity.Encrypt(commandArgs[0].ToString()) + "&&ExamiKEY=" + AppSecurity.Encrypt("0"), false);
                        }

                        tderror.Visible = false;
                    }
                    else
                    {
                        tderror.Visible = true;
                        lblError.Text   = "<img src='../Images/no.png'align='middle'/>&nbsp;<font color='red'>" + Resources.ResMessages.Student_checkStartTime + "</font>";
                    }
                }
            }
        }