Esempio n. 1
0
        /// <summary>
        /// ComboBox Initialize
        /// </summary>
        private void InitComboBox()
        {
            DataTable dt = AppCodeUtil.GetCodeMaster("MD_ItemGB", string.Empty);

            foreach (DataRow dr in dt.Rows)
            {
                if (dr["CodeValue"].ToString() == "ITEMGB01" || dr["CodeValue"].ToString() == "ITEMGB02")
                {
                    dr.Delete();
                }
            }
            dt.AcceptChanges();
            matGBSearch.InitData(dt);
            ComboCls1_Srch.InitData(AppCodeUtil.GetCodeMaster("MD_ItemCls1", string.Empty));
            ComboCls2_Srch.InitData(AppCodeUtil.GetCodeMaster("MD_ItemCls2", string.Empty));
        }
Esempio n. 2
0
 /// <summary>
 /// ComboBox Initialize
 /// </summary>
 private void InitComboBox()
 {
     ItemGBSearch.InitData(AppCodeUtil.GetCodeMaster("MD_ItemGB", string.Empty));
     ComboCls1_Srch.InitData(AppCodeUtil.GetCodeMaster("MD_ItemCls1", string.Empty));
     ComboCls2_Srch.InitData(AppCodeUtil.GetCodeMaster("MD_ItemCls2", string.Empty));
 }