using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using GThinking.N_MODEL.Page; using GThinking.N_MISPRO.Utility; using GThinking.N_MISPRO.Data; using GThinking.N_WORKFLOW; using GThinking.N_PUBLIC; using GThinking.N_MODEL.Dialog; using GThinking.N_CONTROL; using System.Text; using System.Collections.Generic; namespace GThinking.N_XLXSBJ { public partial class XLXHCPTXWHQuery : SingleQueryBase { XLXHCPTXWH_M queryentity = new XLXHCPTXWH_M(); protected void Page_Load(object sender, EventArgs e) { this.UMID = 100860167; this.UMName = "线缆型号附加属性维护"; this.CurMaster = Master; this.CurQueryTable = QueryTalbe; this.CurQueryEntity = queryentity; if (!IsPostBack) { InitControl(); } base.InitPage(); } private void InitControl() { TComboBox.SetComboBox("DBERP", this.cbxXLXHID, "select XLXHB_XLXHID as ID,XLXHB_XLXHID as Name from XLXHB where isnull(XLXHB_TYBZ,'N')<>'Y' order by ID ", true); TComboBox.SetComboBox("DBERP", this.cbxDYDJID, "select distinct XLXSBJCPYS_DYDJID as ID,XLXSBJCPYS_DYDJID as Name from XLXSBJCPYS where 1=1 order by ID ", true); } } }