protected void btnAdd_Click(Object Sender, EventArgs e)
        {
            int intQuestion = Int32.Parse(Request.Form[hdnParent.UniqueID]);
            int intResponse = Int32.Parse(Request.Form[hdnResponse.UniqueID]);

            if (Request.Form[hdnId.UniqueID] == "0")
            {
                oForecast.AddResponse(intQuestion, txtName.Text, txtResponse.Text, (chkVariance.Checked ? 1 : 0), intResponse, (chkOSDistributed.Checked ? 1 : 0), (chkOSMidrange.Checked ? 1 : 0), (chkCores.Checked ? 1 : 0), (chkRAM.Checked ? 1 : 0), (chkWeb.Checked ? 1 : 0), (chkDatabase.Checked ? 1 : 0), (chkHANone.Checked ? 1 : 0), (chkHACluster.Checked ? 1 : 0), (chkHACSM.Checked ? 1 : 0), (chkHACSMMiddleware.Checked ? 1 : 0), (chkHACSMApp.Checked ? 1 : 0), (chkHARoom.Checked ? 1 : 0), (chkDRUnder.Checked ? 1 : 0), (chkDROver.Checked ? 1 : 0), (chkDROne.Checked ? 1 : 0), (chkDRMany.Checked ? 1 : 0), txtComponents.Text, Int32.Parse(ddlResponseCategory.SelectedValue), oForecast.GetResponses(intQuestion, 1).Tables[0].Rows.Count + 1, (chkEnabled.Checked ? 1 : 0));
            }
            else
            {
                oForecast.UpdateResponse(Int32.Parse(Request.Form[hdnId.UniqueID]), intQuestion, txtName.Text, txtResponse.Text, (chkVariance.Checked ? 1 : 0), intResponse, (chkOSDistributed.Checked ? 1 : 0), (chkOSMidrange.Checked ? 1 : 0), (chkCores.Checked ? 1 : 0), (chkRAM.Checked ? 1 : 0), (chkWeb.Checked ? 1 : 0), (chkDatabase.Checked ? 1 : 0), (chkHANone.Checked ? 1 : 0), (chkHACluster.Checked ? 1 : 0), (chkHACSM.Checked ? 1 : 0), (chkHACSMMiddleware.Checked ? 1 : 0), (chkHACSMApp.Checked ? 1 : 0), (chkHARoom.Checked ? 1 : 0), (chkDRUnder.Checked ? 1 : 0), (chkDROver.Checked ? 1 : 0), (chkDROne.Checked ? 1 : 0), (chkDRMany.Checked ? 1 : 0), txtComponents.Text, Int32.Parse(ddlResponseCategory.SelectedValue), (chkEnabled.Checked ? 1 : 0));
            }
            if (Request.Form[hdnOrder.UniqueID] != "")
            {
                string strOrder = Request.Form[hdnOrder.UniqueID];
                int    intCount = 0;
                while (strOrder != "")
                {
                    intCount++;
                    int intId = Int32.Parse(strOrder.Substring(0, strOrder.IndexOf("&")));
                    strOrder = strOrder.Substring(strOrder.IndexOf("&") + 1);
                    oForecast.UpdateResponseOrder(intId, intCount);
                }
            }
            Response.Redirect(Request.Path);
        }