Ejemplo n.º 1
0
        public void SearchData()
        {
            DataTable dt = gcxm.GetXmxxByPrjNum(prjNum).Result;

            this.SetControlValue(dt.Rows[0].ToDataItem());

            if (!string.IsNullOrEmpty(dt.Rows[0]["jsdwID"].ToString2()))
            {
                this.hlk_Jsdw.NavigateUrl = "../Sczt/JsdwxxToolBar.aspx?jsdwid=" + dt.Rows[0]["jsdwID"].ToString2();
            }
            else
            {
                this.hlk_Jsdw.Enabled = false;
            }

            this.hlk_Jsdw.Text = dt.Rows[0]["BuildCorpName"].ToString2();
            DataTable dtdxxm = gcxm.GetDxXmxx(dt.Rows[0]["PKID"].ToString()).Result;

            this.Gdv_LxxmDxgcInfo.DataSource = dtdxxm;
            this.Gdv_LxxmDxgcInfo.DataBind();
        }
        public void SearchData()
        {
            DataTable dt = gcxm.GetDxXmxx(PKID).Result;

            this.SetControlValue(dt.Rows[0].ToDataItem());
        }