BKI_DichVuMatDat.NghiepVu.f370_nhan_vien_loai_lao_dong.import_excel C# (CSharp) Method

import_excel() public method

public import_excel ( ) : void
return void
        public void import_excel()
        {
            m_txt_path = WinFormControls.openFileDialog();
            if (m_txt_path != "")
            {
                f372_nhan_vien_loai_lao_dong_excel v_f = new f372_nhan_vien_loai_lao_dong_excel();
                v_f.displayToInsertExcel(m_txt_path);
            }
            load_data_2_grid();
        }

Usage Example

 private void m_cmd_nhap_thong_tin_tong_hop_Click(object sender, EventArgs e)
 {
     try
     {
         f370_nhan_vien_loai_lao_dong v_frm = new f370_nhan_vien_loai_lao_dong();
         v_frm.import_excel();
         if (chuyen_buoc_tiep_theo())
         {
             v_frm.ShowDialog();
         }
         //v_frm.Show();
         //m_e_buoc_hien_tai++;
         set_init_form_load();
     }
     catch (Exception v_e)
     {
         CSystemLog_301.ExceptionHandle(v_e);
     }
 }