/// <summary> /// 行点击事件 /// </summary> /// <param name="source"></param> /// <param name="e"></param> protected void Repeater1_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e) { if (e.CommandName != "delete") { return; } try { if (e.CommandArgument == null) { return; } string guid = e.CommandArgument.ToString(); WebBean bean = WebBean.GetInstance(); bean.DeleteUrl(" where GUID='" + guid + "'"); DataBind(); } catch (Exception ex) { } }