예제 #1
0
        protected void DeleteButton_Click(object sender, EventArgs e)
        {
            CheckAdminPower("DeleteShipping", PowerCheckType.Single);
            string deleteID = RequestHelper.GetIntsForm("SelectID");

            if (deleteID != string.Empty)
            {
                ShippingBLL.Delete(Array.ConvertAll <string, int>(deleteID.Split(','), k => Convert.ToInt32(k)));
                AdminLogBLL.Add(ShopLanguage.ReadLanguage("DeleteRecord"), ShopLanguage.ReadLanguage("Shipping"), deleteID);
                ScriptHelper.Alert(ShopLanguage.ReadLanguage("DeleteOK"), RequestHelper.RawUrl);
            }
        }