protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { txtOpenDate.Value = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd"); txtCloseDate.Value = DateTime.Now.ToString("yyyy-MM-dd"); } lbl_title.Text = ProductInfoBus.GetLogTitle(Request.QueryString["ModuleID"].ToString()) + "列表"; BindUserTree(); //获取查询版块 try { string mod = string.Empty; this.btn_mod.Value = Convert.ToString(Convert.ToInt32(Request.QueryString["ModuleID"].ToString()) - 1); } catch { } }