コード例 #1
0
        private void LoadingSettingBOM()
        {
            settingBOMs = new List <SettingBOM>();
            loadData    = new LoadDataPlanning();

            settingBOMs = loadData.LoadingSettingBOMs();
            dtgv_SettingBom.DataSource = settingBOMs;
        }
コード例 #2
0
 private void Btn_Update_Click(object sender, EventArgs e)
 {
     if (txt_productNo.Text != "")
     {
         try
         {
             int intQtyPacking = (int)nmr_QtyPackage.Value;
             int intQtyTool    = (int)nmr_toolpcs.Value;
             loadData.UpdateToDatabase(txt_productNo.Text.Trim(), intQtyPacking, intQtyTool);
             settingBOMs = loadData.LoadingSettingBOMs();
             dtgv_SettingBom.DataSource = settingBOMs;
         }
         catch (Exception)
         {
             throw;
         }
     }
 }
コード例 #3
0
        private void LoadingSettingBOM()
        {
            settingBOMs = new List <SettingBOM>();
            loadData    = new LoadDataPlanning();

            settingBOMs = loadData.LoadingSettingBOMs();
            dtgv_SettingBom.DataSource = settingBOMs;
            SettingHeaderDataGridViewBom();
            SettingDatagridview(ref dtgv_SettingBom);
        }