how do i Read an Excell file
C#
3
Posts
3
Posters
0
Views
1
Watching
-
Depending on the version of Excel, you can control Excel via COM, or via .NET. But, you can't read it, on a machine that doesn't have Excel installed, unless it's Office 2007, using the new file format, in which case, the document is a zip that contains XML.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Well, this will only work if your Excel file simply contains Data, no Macros. Instead of saving as an Excel (*.xls) file, save it as a Tab-Delimited Text File (*.txt) Then just use a StreamReader to read it as plain text.