Files
N_XLJC--MX/XHMLXQQuery.aspx.cs
2026-08-21 17:02:49 +08:00

69 lines
1.8 KiB
C#

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;
namespace GThinking.N_XLJC
{
public partial class XHMLXQQuery : SingleQueryBase
{
XHMLXQ_M queryentity = new XHMLXQ_M();
protected void Page_Load(object sender, EventArgs e)
{
this.UMID = 101421007;
this.UMName = "适用型号电压";
this.CurMaster = Master;
this.CurQueryEntity = queryentity;
this.CurQueryTable = QueryTalbe;
this.PageWidth = 420;
this.PageHeight = 430;
if (!IsPostBack)
{
InitControls();
}
base.InitPage();
}
#region 模板事件继承
protected override bool QueryLogicValid()
{
return base.QueryLogicValid();
}
#endregion
#region 自定义事件
private void InitControls()
{
string sSQL = "select XLDYDJB_DYDJID,XLDYDJB_DYDJID as DYDJID from XLDYDJB where 1 = 1 and isnull(XLDYDJB_TYBZ,'N')='N' order by XLDYDJB_DYDJID ";
TComboBox.SetComboBox("DBERP", cbxDYDJID, sSQL, true);
cbxDYDJID.ShowValue = false;
}
#endregion
#region 自定义事件
protected void chkXHJQPP_OnCheckedChanged(object sender, EventArgs e)
{
if (chkXHJQPP.Checked)
{
txtXHID.Tag = GThinking.N_CONTROL.gtTextBox.DTagStates.None;
}
else
{
txtXHID.Tag = GThinking.N_CONTROL.gtTextBox.DTagStates.Percent;
}
}
#endregion
}
}