Hey guys,
As the topic title would dictate im pretty much looking for a way to insert from my C# web application form values that it has pulled from my database and dump these values into an Excel template i have. What would be the correct way of going about doing this?
Thanks alot.
Inserting from C# into Excel template
Page 1 of 16 Replies - 816 Views - Last Post: 27 February 2013 - 11:37 PM
Replies To: Inserting from C# into Excel template
#2
Re: Inserting from C# into Excel template
Posted 10 July 2012 - 09:28 AM
I can tell you right off the bat that the incorrect way to do it is to using Office Automation. See http://support.microsoft.com/kb/257757
The good thing, though, is that the KB article also suggests some alternatives to using Office Automation, and it links to the appropriate SDKs and walkthroughs.
I've been getting the impression that people on this forum having been having some successes using LibXL: http://www.libxl.com/
The good thing, though, is that the KB article also suggests some alternatives to using Office Automation, and it links to the appropriate SDKs and walkthroughs.
I've been getting the impression that people on this forum having been having some successes using LibXL: http://www.libxl.com/
#4
Re: Inserting from C# into Excel template
Posted 10 July 2012 - 11:13 AM
#5
Re: Inserting from C# into Excel template
Posted 10 July 2012 - 11:15 AM
I don't know if is it Read-Write or just Read.
#6
Re: Inserting from C# into Excel template
Posted 26 February 2013 - 11:57 PM
Hi,
You might want to look at this C# Excel Writer. It isn't free, but it's much faster than Microsoft Office Automation and easy to use. Look at this example:
http://eleriumsoft.c...l_Template.aspx
You might want to look at this C# Excel Writer. It isn't free, but it's much faster than Microsoft Office Automation and easy to use. Look at this example:
http://eleriumsoft.c...l_Template.aspx
#7
Re: Inserting from C# into Excel template
Posted 27 February 2013 - 11:37 PM
Hello,
Firstly, I want to know if your Excel template has some place holders for data to offer a location for data to be exported. If so, I think solution in this article: C# - Create Excel Report (Chart Contained) With Mark Designer will give you some suggestions.
Hope Helpful!
Firstly, I want to know if your Excel template has some place holders for data to offer a location for data to be exported. If so, I think solution in this article: C# - Create Excel Report (Chart Contained) With Mark Designer will give you some suggestions.
Hope Helpful!
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote







|