/// <summary> /// 接收參數 /// </summary> private void getParametor() { //QID if (Request.QueryString["QID"] != null) { strQID = Request.QueryString["QID"].ToString(); if (strQID.IndexOf("VPAns") >= 0) { strQuestionType = "4"; hfQuestionType.Value = strQuestionType; hfCurrentProType.Value = Request.QueryString["CurrentProType"].ToString(); } else { DataTable dtQuestionMode = SQLString.getQuestionClassifyName(strQID); strQuestionType = dtQuestionMode.Rows[0]["cQuestionType"].ToString(); dtQuestionMode.Dispose(); dtQuestionMode = null; } } //GroupID if (Request.QueryString["GroupID"] != null) { strGroupID = Request.QueryString["GroupID"].ToString(); hfGroupID.Value = strGroupID; if (Session["GroupID"] != null) { Session["GroupID"] = strGroupID; } else { Session.Add("GroupID", strGroupID); } } }