Can I start an Excel session from Visual Studios 2005 (C#)?

S

Steve Kershaw

Hi,

I have a need to start and load with data an Excel spreadsheet from a
ASP.NET application. Is that possible in XP and if so how?

Thanks

Steve
 
M

Mark Rae [MVP]

I have a need to start and load with data an Excel spreadsheet from a
ASP.NET application. Is that possible in XP and if so how?

Firstly, you can't do Office Automation with ASP.NET:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2

However, it's easy enough to create an Excel spreadsheet using ASP.NET -
there are, essentially, three ways:

1) Use HTML
Create your data as an HTML document, and give it an xls extension - Excel
will treat it just like a "real" worksheet...

2) Use XML
http://www.microsoft.com/downloads/...52-3547-420a-a412-00a2662442d9&displaylang=en
http://www.microsoft.com/downloads/...80-f2c0-4b80-9ad1-2cb0c300aef9&displaylang=en

3) Use Aspose
http://www.aspose.com/Products/Aspose.Cells/Default.aspx
 

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

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top