944,179 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 3416
  • ASP.NET RSS
Sep 26th, 2006
0

Transferring data to Excel

Expand Post »
Hi, everyone. Hope someone can offer some help on this. I need to generate a chart, preferably, by using Microsoft Excel. I need to retrieve some data from an aspx form and use the data to generate the chart in Excel. Okay, there are some input fields in the aspx form and by retrieving the input data, an Excel chart can be generated, after the user clicks a button. The user might be directed to another page displaying the chart. Is it possible or does someone have any other way of doing it? Urgent. By the way, I am using ASP.NET with VB. Thanks.
Last edited by danae; Sep 26th, 2006 at 11:36 pm. Reason: left out something
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
danae is offline Offline
7 posts
since Jun 2006
Sep 26th, 2006
0

Re: Transferring data to Excel

Excel is not a server application. Asking it to be a "chart server" for your web application is not going to lead to a scalable application. I would suggest either:

1) creating your own charts directly, which is possible using the Graphics namespace. Create images based on form data, and stream them right back to the user, or

2) get an ASP.NET compatible charting component.
Last edited by tgreer; Sep 26th, 2006 at 11:56 pm.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Oct 3rd, 2006
0

Re: Transferring data to Excel

Click to Expand / Collapse  Quote originally posted by tgreer ...
Excel is not a server application. Asking it to be a "chart server" for your web application is not going to lead to a scalable application. I would suggest either:

1) creating your own charts directly, which is possible using the Graphics namespace. Create images based on form data, and stream them right back to the user, or

2) get an ASP.NET compatible charting component.
Hi, tgreer. Thanks alot for the reply. However, I have a problem. I went to the ASP.NET compatible charting component link. Because I need to draw line chart, so I clicked the line charts link. I saw one component that seems compatible enough for my project, the TimeDataPlot. Unfortunately, it couldn't be downloaded, due to unknown reason. The other suggested controls couldn't be used because they require the updated versions of ASP.NET 2006 and .NET Framework v2.0. I am using ASP.NET 2003 and .NET Framework SDK v1.1. And, can you please provide the Graphics namespace definition? I couldn't find it. Sorry for the trouble, I am a beginner using ASP.NET with VB. Thanks alot for the help.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
danae is offline Offline
7 posts
since Jun 2006
Oct 3rd, 2006
0

Re: Transferring data to Excel

I have no control over the asp.net website. In any case, you really need to update to .NET Framework 2.0. I understand that may not be under your control.

I have to apologize. I said "Graphics", when I meant "Drawing". Use the System.Drawing namespace.

There are a few articles on the topic, such as this one.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: help in final year project
Next Thread in ASP.NET Forum Timeline: Web page authentication





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC