Exporting data to excel file C#.NET
问题 I want to export the data from a access database to excel file. But i got Exception from HRESULT: 0x800A03EC error. Here is a bit of code that i have written, using System; using System.Data; using System.Data.OleDb; using System.Configuration; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using Excel = Microsoft.Office.Interop.Excel; private void showBtn_Click(object sender, EventArgs e) { int cnt = -1;