Printing excel files

G

Guest

Hi.

Can anybody help me on how to print excel files that has been read via
ADO.NET.

Or anyway, what I want to avoid is automation (instantiating an excel
application object).

Hopefully, there is way aroudn this..


Thanks in advance.
 
S

Sahil Malik

I assume you've already read the excel file details into a dataset/table?

To tell you the truth - .NET has some printing functions in it, which in
your simplistic case will be a more pain in the butt than useful. don't get
me wrong - you can certainly do it - but it will take some effort.

Automation is easy - but heavy.

A midway solution could be to use a thirdparty reporting solution (there's a
free one at logixml.com), and render out a report that could be printed.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
 
G

Guest

Hi Sahil.

Thank you for the reply.
Yes, everything is already in the dataset/table.
I am now just trying to add printing functionality
without going back to automation.


Thanks anyway...
 

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