G
Guest
If I use Excel to open an Excel file with 61K records, they appear instantly.
If I fill an ADO.NET recordset in Visual Basic with 61K records, it fills
almost immediately. But if I bind the dataset to a ListObject in Excel in
VSTO, then populating the workshseet takes 20 minutes. I can use a
For...Next loop to read the dataset and fill each row of the worksheet, but
that takes a couple of minutes. What is the way to instantly fill an Excel
spreadsheet with a dataset from SQL Server?
If I fill an ADO.NET recordset in Visual Basic with 61K records, it fills
almost immediately. But if I bind the dataset to a ListObject in Excel in
VSTO, then populating the workshseet takes 20 minutes. I can use a
For...Next loop to read the dataset and fill each row of the worksheet, but
that takes a couple of minutes. What is the way to instantly fill an Excel
spreadsheet with a dataset from SQL Server?