VB.NET: export query directly to Excel

  • Thread starter Thread starter Mike J.
  • Start date Start date
M

Mike J.

I have searched for methods to export a SQL query directly to an Excel
document, but all I can find is exporting from a GridView to Excel (which I
do have working). Is there a way to export the resulting data of a SQL query
and send it to an Excel document without binding that to a GridView first?

We are using Visual Basic .NET 2005 and Oracle 10g databases. I have most
of the project's work in the asp.net side including the SqlDataSource with a
small amount of code-behind stuff in the .vb files.

Thank you!
 
Back
Top