protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName == "delete") { zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message(); bll.Delete(int.Parse(e.CommandArgument.ToString())); BindData(); } }
private void BindData() { zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message(); UsersBind(bll.GetModelList("1=1 order by id desc"), 15); }
private void BindUnData() { zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message(); UsersBind1(bll.GetModelList("isShow=0 order by id desc"), 15); }
protected void Button2_Click(object sender, EventArgs e) { zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message(); UsersBind(bll.GetModelList("isShow=0 order by id desc"), 15); }