private void Page_Load(object sender, System.EventArgs e) { oSupp = new QuizSupp.Support((Page)this, Server.MapPath(".")); string sMinors = GetOnOffFormVal("MINORS"); string sMajors = GetOnOffFormVal("MAJORS"); string sJrSrBl = GetOnOffFormVal("JRSRBL"); string sFed = GetOnOffFormVal("FED"); string sSoftball = GetOnOffFormVal("SOFTBALL"); string sLocal = GetOnOffFormVal("LOCAL"); string sDebugList = Request.Params["QDEBUG"] ?? null; string sDiff1 = GetOnOffFormVal("DIFF1"); string sDiff2 = GetOnOffFormVal("DIFF2"); string sDiff3 = GetOnOffFormVal("DIFF3"); string sDiff4 = GetOnOffFormVal("DIFF4"); int nCount = GetFormIntVal("COUNT", 5); oSupp.GenerateQuiz(nCount, sMinors, sMajors, sJrSrBl, sSoftball, sLocal, sFed, sDiff1, sDiff2, sDiff3, sDiff4, sDebugList); // Put user code to initialize the page here // increment the hit counter oSupp.BumpNamedCounter("QuizGen"); }
private void Page_Load(object sender, System.EventArgs e) { m_oSupp = new QuizSupp.Support((Page)this, Server.MapPath(".")); // Put user code to initialize the page here }
public string SCount() { QuizSupp.Support oSupp = new QuizSupp.Support((Page)this, Server.MapPath(".")); return oSupp.GetNamedCounter("QuizGen").ToString(); }