示例#1
0
        protected void rptAndroidUpgrades_ItemCommand(object sender, RepeaterCommandEventArgs e)
        {
            if (e.CommandName == "Delete")
            {
                int id = Convert.ToInt32(e.CommandArgument);

                if (APPHelper.DelAppVersionById(id))
                {
                    this.ShowMsg("删除成功", true);
                    this.BindData();
                    return;
                }

                else
                {
                    this.ShowMsg("删除失败", false);
                    return;
                }
            }
        }