Excel export without Interop
问题 I'm trying to accomplish export to Excel from a VB.NET (Windows Forms) application. Unfortunately, I can't use Office Interops because the application should work on every machine - even if there is no Excel installed. I found the following sample on the Net: Public Sub ExportDatasetToExcel(ByVal ds As DataSet, Optional ByVal strHeader As String = "Save As") 'Proudly copied from: 'http://www.daniweb.com/software-development/vbnet/threads/368400/write-into-excel-using-oledb-connection