protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName == "delete") { zs.BLL.Tbl_Zhuanye bll = new zs.BLL.Tbl_Zhuanye(); bll.Delete(int.Parse(e.CommandArgument.ToString())); BindData(); } }
private void BindData() { zs.BLL.Tbl_Zhuanye bll = new zs.BLL.Tbl_Zhuanye(); UsersBind(bll.GetModelList(""), 15); }