Пример #1
0
 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();
     }
 }
Пример #2
0
 private void BindData()
 {
     zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message();
     UsersBind(bll.GetModelList("1=1 order by id desc"), 15);
 }
Пример #3
0
 private void BindUnData()
 {
     zs.BLL.Tbl_Message bll = new zs.BLL.Tbl_Message();
     UsersBind1(bll.GetModelList("isShow=0 order by id desc"), 15);
 }
Пример #4
0
 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);
 }