示例#1
0
        private void BindGzzsxx()
        {
            DataTable dt = BLL.ReadSzgkjc_Gzzs(gzzsId).Result;

            if (dt.Rows.Count > 0)
            {
                List <IDataItem> list = dt.Rows[0].ToDataItem();
                this.SetControlValue(list);
                contentHtml = list.GetDataItem("GzzsNr").ItemData;
            }
        }
示例#2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            BLL    = new ZlctBLL(WorkUser);
            ZshfId = Request.QueryString["zshfId"];

            if (!this.IsPostBack)
            {
                DataTable dt = BLL.ReadSzgkjc_Gzhf(ZshfId).Result;
                if (dt.Rows.Count > 0)
                {
                    List <IDataItem> list = dt.Rows[0].ToDataItem();
                    this.SetControlValue(list);

                    string gzzsId = list.GetDataItem("GzzsId").ItemData;
                    dt   = BLL.ReadSzgkjc_Gzzs(gzzsId).Result;
                    list = dt.Rows[0].ToDataItem();
                    this.SetControlValue(list);
                }
                BLL.UpdateZlhfToReadedState(ZshfId);
            }
        }