Solved

How to programming (interact with) Excel using ASP NET 2?

Posted on 2007-11-26
2
216 Views
Last Modified: 2010-04-30
Hi,

I am writing a project that needs to interact with excel sheet which I need:

1. Open a blank excel sheet.
2 .Write data to open excel sheet from datatable.
3. Save back to datatable.

My question is:

1. How could I interact with the excel?
2. How could I know that the user just exit the sheet and then I should save back to datatable again.

Please help.

Thank you.
0
Comment
Question by:emi_sastra
2 Comments
 
LVL 5

Accepted Solution

by:
rajups earned 500 total points
ID: 20349438
Hi,
Best way to achieve this is using the OWC [Office Web Component] from microsoft
Using this you can programatically
Format the sheet
Apply any rules/ calculations
Insert charts
Pivot tables and lot more.

You can define the Excel Template / XML Template as a template for your final excel also.

Refer below links for more details
http://support.microsoft.com/kb/555237
http://support.microsoft.com/default.aspx?scid=kb;EN-US;317316
http://support.microsoft.com/kb/319793
http://support.microsoft.com/kb/262827

All the best,
Raju P. S
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 20349648
Thank very much.

I think it is what I need.

I have to learn it first.


0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now