Excel Read1 [C#] NPOI를 이용한 Excel 파일 쓰기, 읽기 개요 업무 도중 Excel 파일 읽기 기능과 쓰기 기능이 필요하게 되었다. NPOI 라는 라이브러리를 사용하여 구현했다. 개발 환경 Visual Studio 2022 .NET Framework 4.7.1 Winform, WPF NPOI 라이브러리 Visual Studio 2022 > 프로젝트 메뉴 > NuGet 패키지 관리 NPOI 검색 후 설치 Excel Read 먼저 Excel 파일 Read 부분 코드이다. XSSFWorkbook workBook; try { string csvString = String.Empty; string columnString = String.Empty; if (!File.Exists(path)) { return false; } using (FileStream fileStre.. 2024. 3. 7. 이전 1 다음