1. Add reference to COM object Microsoft.Office.Excel 12.0 or any other available library. 2. Code: using Microsoft.Office.Interop.Excel; private void anyfunction() { Microsoft.Office.Interop.Excel.Application xlapp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook xlWkb = null; Microsoft.Office...
How to work with Excel (.xls) files in C#.NET?
H