using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Ajax; using System.Data; using System.Collections; public partial class Schedule : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Session["user"] == null) { Response.Redirect("../index.aspx"); } getgxxnr(); } private void getgxxnr() { Maticsoft.Model.nr_z_yhzh user = (Maticsoft.Model.nr_z_yhzh)(Session["user"]); string htmlcode = "
| 日程标题 | 日程内容 | 待办日期 | 日程发布人 | 日志类型 |
|    没有数据 | ||||
| " + rzdt.Rows[i]["rzbt"] + " | " + rzdt.Rows[i]["rznr"] + " | " + rzdt.Rows[i]["dbrq"] + " | " + rzdt.Rows[i]["rzname"] + " | "; if (rzdt.Rows[i]["lx"].ToString() == "新闻公告" || rzdt.Rows[i]["lx"].ToString() == "我的日程") { htmlcode += "" + rzdt.Rows[i]["lx"] + " | 个人消息 | "; } } txxxdiv.InnerHtml = htmlcode + "