예제 #1
0
        protected void gvUnit_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            string keyid = e.CommandArgument.ToString();

            if (e.CommandName == "dataDelete")
            {
                if (KPI_UnitDal.DeleteUnit(keyid))
                {
                    MessageBox.popupClientMessage(this.Page, "删除成功!", "call();");
                }
                else
                {
                    MessageBox.popupClientMessage(this.Page, "删除错误!", "call();");
                }
            }
        }