private void LoadTab(MES_BD_ZY zy) { if (zy.IsNull()) { tabZy.Visible = false; } else { tabStatus.Url = "frmMesBdZyStatusEdit.aspx?key=" + this.key + "&code=" + this.txtCode.Text.Trim(); tabDoc.Url = "frmMesBdZyDocEdit.aspx?key=" + this.key + "&code=" + this.txtCode.Text.Trim(); } }
private void LoadHeadRecord() { EciRequest request = new EciRequest(MESService.MesBdZyLoad); request.Key = this.fguid; EciResponse response = SOA.Execute(request); MES_BD_ZY data = response.DataTable.ToEntity <MES_BD_ZY>(); if (!data.IsNull()) { txtName.Text = data.NAME; } }