private void grdHotKeywords_RowDeleting(object sender, System.Web.UI.WebControls.GridViewDeleteEventArgs e) { int hid = (int)this.grdHotKeywords.DataKeys[e.RowIndex].Value; StoreHelper.DeleteHotKeywords(hid); this.BindData(); }
private void grdHotKeywords_RowDeleting(object sender, GridViewDeleteEventArgs e) { int hid = (int)grdHotKeywords.DataKeys[e.RowIndex].Value; StoreHelper.DeleteHotKeywords(hid); BindData(); }
public void Delete(HttpContext context) { int value = base.GetIntParam(context, "id", false).Value; if (value < 1) { throw new HidistroAshxException("错误的参数"); } StoreHelper.DeleteHotKeywords(value); base.ReturnSuccessResult(context, "删除成功", 0, true); }