/// <summary>
        /// 提交按钮点击方法
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void SubmitButton_Click(object sender, EventArgs e)
        {
            ProductClassInfo productClass = new ProductClassInfo();

            productClass.Id = RequestHelper.GetQueryString <int>("ID");
            if (FatherID.Text.Trim() == RequestHelper.GetQueryString <string>("ID"))
            {
                ScriptHelper.Alert("不能将上级分类设置成自己", RequestHelper.RawUrl);
                Response.End();
            }
            if (string.IsNullOrEmpty(ProductType.Text))
            {
                ScriptHelper.Alert("必须选择产品类型", RequestHelper.RawUrl);
                Response.End();
            }
            productClass.ParentId      = Convert.ToInt32(FatherID.Text);
            productClass.OrderId       = Convert.ToInt32(OrderID.Text);
            productClass.Name          = ClassName.Text;
            productClass.Keywords      = Keywords.Text;
            productClass.Remark        = Description.Value;
            productClass.Photo         = Photo.Text;
            productClass.ProductTypeId = Convert.ToInt32(ProductType.Text);

            productClass.Tm = DateTime.Now;

            productClass.EnClassName = EnClassName.Text.Trim();
            productClass.PageTitle   = PageTitle.Text.Trim();
            productClass.PageKeyWord = PageKeyWord.Text.Trim();
            productClass.PageSummary = PageSummary.Text.Trim();

            string alertMessage = ShopLanguage.ReadLanguage("AddOK");

            if (productClass.Id == int.MinValue)
            {
                CheckAdminPower("AddProductClass", PowerCheckType.Single);
                int id = ProductClassBLL.Add(productClass);
                AdminLogBLL.Add(ShopLanguage.ReadLanguage("AddRecord"), ShopLanguage.ReadLanguage("ProductClass"), id);
            }
            else
            {
                CheckAdminPower("UpdateProductClass", PowerCheckType.Single);
                ProductClassBLL.Update(productClass);
                AdminLogBLL.Add(ShopLanguage.ReadLanguage("UpdateRecord"), ShopLanguage.ReadLanguage("ProductClass"), productClass.Id);
                alertMessage = ShopLanguage.ReadLanguage("UpdateOK");
            }
            ScriptHelper.Alert(alertMessage, RequestHelper.RawUrl);
        }