Пример #1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.Initiate();

            this.getParameter();

            //從QuestionMode中把屬於此考卷的Specific問題存入Paper_Content。
            mySQL.saveSpecificToPaper_Content(strPaperID);

            //加入Next的事件
            btnNext.ServerClick += new EventHandler(btnNext_ServerClick);

            //如果是預先選題的話顯示tr1和tr3,如果是呈現時亂數選題則不顯示。
            if (hiddenPresentType.Value == "Edit")
            {
                //tr1.Style.Add("DISPLAY","");
                //tr3.Style.Add("DISPLAY","");
            }
            else
            {
                //tr1.Style.Add("DISPLAY","none");
                //tr3.Style.Add("DISPLAY","none");
            }
        }