protected void Page_Load(object sender, EventArgs e) { appid = Request.QueryString["appid"]; tabid = Request.QueryString["tabid"]; typeid = Request.QueryString["typeid"]; title = string.Empty; FoWoSoft.Platform.WorkFlowArchives BWFA = new FoWoSoft.Platform.WorkFlowArchives(); FoWoSoft.Platform.WorkFlow BWF = new FoWoSoft.Platform.WorkFlow(); if (IsPostBack) { title = Request.Form["Title1"]; } else { title = Request.QueryString["Title"]; } string query = string.Format("&appid={0}&tabid={1}&Title={2}&typeid={3}", Request.QueryString["appid"], Request.QueryString["tabid"], title.UrlEncode(), typeid ); query1 = string.Format("{0}&pagesize={1}&pagenumber={2}", query, Request.QueryString["pagesize"], Request.QueryString["pagenumber"]); string pager; Dt = BWFA.GetPagerData(out pager, query, title, BWF.GetFlowIDFromType(typeid.ToGuid())); this.Pager.Text = pager; }
protected void Page_Load(object sender, EventArgs e) { string id = Request.QueryString["id"]; if (!id.IsGuid()) { Contents = "无内容"; return; } var archives = new FoWoSoft.Platform.WorkFlowArchives().Get(id.ToGuid()); if (archives != null) { Contents = archives.Contents; Comments = archives.Comments; } else { Contents = "无内容"; } }