Exemple #1
0
 private void BinddrpSHDW()
 {
     try
     {
         DataSet ds3 = QTCKQuery.GetCHE_QTCK("shdw", "shdw");
         if (ds3 != null)
         {
             this.drpSHDW.DataSource     = ds3;
             this.drpSHDW.DataTextField  = "shdw";
             this.drpSHDW.DataValueField = "shdw";
             this.drpSHDW.DataBind();
         }
         this.drpSHDW.Items.Insert(0, "请选择");
     }
     catch
     {
         this.PrintfError("数据访问错误");
         return;
     }
 }
Exemple #2
0
 private void BinddrpZDR()
 {
     try
     {
         DataSet ds = QTCKQuery.GetCHE_QTCK("ZDR", "");
         if (ds != null)
         {
             this.drpZDR.DataSource     = ds;
             this.drpZDR.DataTextField  = "ZDR";
             this.drpZDR.DataValueField = "ZDR";
             this.drpZDR.DataBind();
         }
         this.drpZDR.Items.Insert(0, "请选择");
     }
     catch
     {
         this.PrintfError("访问数据出错!");
         return;
     }
 }
Exemple #3
0
 private void BinddrpCYS()
 {
     try
     {
         DataSet ds2 = QTCKQuery.GetCHE_QTCK("cys", "cys");
         if (ds2 != null)
         {
             this.drpCYS.DataSource     = ds2;
             this.drpCYS.DataTextField  = "cys";
             this.drpCYS.DataValueField = "cys";
             this.drpCYS.DataBind();
         }
         this.drpCYS.Items.Insert(0, "请选择");
     }
     catch
     {
         this.PrintfError("访问数据出错");
         return;
     }
 }
Exemple #4
0
 private void BinddrpNCDJ()
 {
     try
     {
         DataSet ds = QTCKQuery.GetCHE_QTCK("ncdj", "");
         if (ds != null)
         {
             this.drpNCDJ.DataSource     = ds;
             this.drpNCDJ.DataTextField  = "ncdj";
             this.drpNCDJ.DataValueField = "ncdj";
             this.drpNCDJ.DataBind();
         }
         Bestcomy.Web.UI.WebControls.ComboItem value = new Bestcomy.Web.UI.WebControls.ComboItem("请选择");
         this.drpNCDJ.Items.Insert(0, value);
     }
     catch
     {
         this.PrintfError("访问数据出错!");
         return;
     }
 }
Exemple #5
0
 private void BinddrpCKLX()
 {
     try
     {
         DataSet ds = QTCKQuery.GetCHE_QTCK("cklx", "");
         if (ds != null)
         {
             this.drpCKLX.DataSource     = ds;
             this.drpCKLX.DataTextField  = "cklx";
             this.drpCKLX.ToolTip        = "请选择出库类型";
             this.drpCKLX.DataValueField = "cklx";
             this.drpCKLX.DataBind();
         }
         this.drpCKLX.Items.Insert(0, "请选择");
     }
     catch
     {
         this.PrintfError("访问数据出错!");
         return;
     }
 }
Exemple #6
0
 /// <summary>
 /// 页面加载时收货单位
 /// </summary>
 private void BinddrpSHDW()
 {
     try
     {
         DataSet ds3 = QTCKQuery.GetCHE_QTCK("shdw", "shdw");
         if (ds3 != null)
         {
             this.drpSHDW.DataSource     = ds3;
             this.drpSHDW.DataTextField  = "shdw";
             this.drpSHDW.DataValueField = "shdw";
             this.drpSHDW.DataBind();
             Bestcomy.Web.UI.WebControls.ComboItem value = new Bestcomy.Web.UI.WebControls.ComboItem("请选择");
             this.drpSHDW.Items.Insert(0, value);
         }
     }
     catch
     {
         this.PrintfError("加载收货单位时出错");
         return;
     }
 }
Exemple #7
0
 /// <summary>
 /// 页面加载时绑定出库类型
 /// </summary>
 private void BinddrpCKLX()
 {
     try
     {
         DataSet ds1 = QTCKQuery.GetCHE_QTCK("cklx", "");
         if (ds1 != null)
         {
             this.drpCKLX.DataSource     = ds1;
             this.drpCKLX.DataTextField  = "cklx";
             this.drpCKLX.DataValueField = "cklx";
             this.drpCKLX.DataBind();
             Bestcomy.Web.UI.WebControls.ComboItem value = new Bestcomy.Web.UI.WebControls.ComboItem("请选择");
             this.drpCKLX.Items.Insert(0, value);
         }
     }
     catch
     {
         this.PrintfError("加载出库类型时出错");
         return;
     }
 }