/// <summary> /// 控件行命令事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void repInfo_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName.Equals("del")) { int id = Convert.ToInt32(e.CommandArgument); InviteService.Delete(id); LoadData(); } if (e.CommandName.Equals("mod")) { Response.Redirect("addInvite.aspx?id=" + e.CommandArgument); } }