/// <summary> /// 获取信息 /// </summary> public void Select_log(string str) { int count; BLL.AdminlogBLL bll = new Daiv_OA.BLL.AdminlogBLL(); this.pro_repeater.DataSource = bll.getpage(20, AspNetPager1.CurrentPageIndex, out count, str); this.pro_repeater.DataBind(); AspNetPager1.RecordCount = count; }
//往管理员日志插入数据 void Addadminlog(string type) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetime = DateTime.Now; model.Updatetitle = this.txtUname.Text; model.Updatetype = type; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { FinalMessage("操作成功", "User_List.aspx", 0); } }
//往管理员日志添加数据 void Addadminlog(string title, string type) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetime = DateTime.Now; model.Updatetitle = title; model.Updatetype = type; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { Response.Redirect("Success.aspx"); } }
//往管理员日志插入数据 void Addadminlog(string type) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetime = DateTime.Now; model.Updatetitle = this.txtUname.Text; model.Updatetype = type; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { Response.Redirect("User_List.aspx"); } }
void Adminlogadd(string name) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetitle = name; model.Updatetime = DateTime.Now; model.Updatetype = "删除学生"; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { FinalMessage("学生删除成功", "Student_List.aspx?cid=" + classId, 0); } else { FinalMessage("学生删除失败", "Student_List.aspx?cid=" + classId, 0); } }
void Adminlogadd(string name) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetitle = name; model.Updatetime = DateTime.Now; model.Updatetype = "删除设备"; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { FinalMessage("设备删除成功", "Mechanical_List.aspx", 0); } else { FinalMessage("设备删除失败", "Mechanical_List.aspx", 0); } }
void Adminlogadd(string name) { Entity.AdminlogEntity model = new Entity.AdminlogEntity(); model.Uid = UserId; model.Updatetitle = name; model.Updatetime = DateTime.Now; model.Updatetype = "删除班级"; int i = new Daiv_OA.BLL.AdminlogBLL().Add(model); if (i > 0) { FinalMessage("班级删除成功", "Grade_List.aspx?gid=" + gradeId, 0); } else { FinalMessage("班级删除失败", "Grade_List.aspx?gid=" + gradeId, 0); } }