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

            if (Request.Form[hdnId.UniqueID] == "0")
            {
                oPlatform.AddForm(intParent, txtName.Text, txtDescription.Text, txtImage.Text, txtPath.Text, Int32.Parse(txtMax1.Text), Int32.Parse(txtMax2.Text), Int32.Parse(txtMax3.Text), Int32.Parse(txtMax4.Text), Int32.Parse(txtMax5.Text), (oPlatform.GetForms(intParent, 0).Tables[0].Rows.Count + 1), (chkEnabled.Checked ? 1 : 0));
            }
            else
            {
                oPlatform.UpdateForm(Int32.Parse(Request.Form[hdnId.UniqueID]), intParent, txtName.Text, txtDescription.Text, txtImage.Text, txtPath.Text, Int32.Parse(txtMax1.Text), Int32.Parse(txtMax2.Text), Int32.Parse(txtMax3.Text), Int32.Parse(txtMax4.Text), Int32.Parse(txtMax5.Text), (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);
                    oPlatform.UpdateFormOrder(intId, intCount);
                }
            }
            Response.Redirect(Request.Path);
        }