printing excel file without using automation

G

Guest

Hi, does anybody have any idea how I can do this?

I would like to avoid instantiating an excel application object as much as
possible.
I am able to read the file already by using ADO.NET.
I would like to be able to finally remove the reference from my project file.


thanks in advance.
 
P

Paul Clement

¤ Hi, does anybody have any idea how I can do this?
¤
¤ I would like to avoid instantiating an excel application object as much as
¤ possible.
¤ I am able to read the file already by using ADO.NET.
¤ I would like to be able to finally remove the reference from my project file.

In what format do you want to print the data? Since you can retrieve it using ADO.NET you should
have several options. Crystal Reports would be one of them. You could also use a custom DataGrid
component:

http://www.dotnet247.com/247referen...harpcorner.com/Graphics/DataGridPrinterMG.asp


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top