BKI_DichVuMatDat.NghiepVu.f322_lap_hop_dong_excel.displayToInsertExcel C# (CSharp) 메소드

displayToInsertExcel() 개인적인 메소드

private displayToInsertExcel ( string m_txt_path ) : void
m_txt_path string
리턴 void
        internal void displayToInsertExcel(string m_txt_path)
        {
            WinFormControls.load_xls_to_gridview_v3(m_txt_path, m_grc_lap_hd, "CSDL");
            foreach (DevExpress.XtraGrid.Columns.GridColumn col in ((DevExpress.XtraGrid.Views.Base.ColumnView)m_grc_lap_hd.Views[0]).Columns)
            {
                col.MaxWidth = 100;
                col.MinWidth = 100;

            }
            this.ShowDialog();
        }

Usage Example

 public void import_excel(ref bool trang_thai_buoc_hien_tai)
 {
     m_txt_path = WinFormControls.openFileDialog();
     if (m_txt_path != "")
     {
         f322_lap_hop_dong_excel v_f = new f322_lap_hop_dong_excel();
         v_f.displayToInsertExcel(m_txt_path);
         trang_thai_buoc_hien_tai = true;
     }
     load_data_2_grid();
 }
All Usage Examples Of BKI_DichVuMatDat.NghiepVu.f322_lap_hop_dong_excel::displayToInsertExcel