It may be a busy question and you can vote, but it completely disappoints me.
When you use SQL Server in your development, data access is fast and efficient, but when you use COM to talk to Excel, it's slow copying.
No matter what data access technology you use, ADO, ADO.NET, LINQ, Entity Framework, Astoria (ADO.NET Data Services), they are all faster than Excel automation.
If all you need is the data in cell "A1" from the workbook, you need Excel.Application, Excel.Workbook, Excel.Worksheet and Excel.Range objects to get only one data point.
WTF: Why is it better to talk to SQL Server than to talk to Excel? Excel is local, and Sql Server may not be.
Tia Chris
Chris source
share