Notice
Recent Posts
Recent Comments
목록엑셀불러오기 (1)
분노의 챔질
반응형
C# 엑셀불러오기
OpenFileDialog openFileDlg = new OpenFileDialog(); openFileDlg.Filter = "Excel파일|*.xl*"; if (openFileDlg.ShowDialog() == DialogResult.OK) { txtFileName.Text = openFileDlg.FileName; var connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=""Excel 12.0 Xml;HDR=YES"""; using (OleDbConnection con = new OleDbConnection(string.Format(connectionString, openFileDlg...
Programming/C#
2010. 2. 25. 15:24
반응형