-
creating graphs from online data
Greetings! I'm new to ASP and I would like to know how I can write a VB.net
application to read some data(eg a pricing list) from a web page, store it
in a database, and plot a graph from the data saved. Any advice will be greatly
appreciated. Thanks.
Yours,
Francis Tan
-
Re: creating graphs from online data
You'll need to use the System.Net classes to make a WebRequest to get the
data.
Store the data using the System.Data classes appropriate to your database.
Look at the System.Drawing classes to draw the graph.
Look at the HttpResponse object to send the graph back to the browser. Pay
attention to the ContentType property to send the image data. Think of the
response as two separate requests by the browser--the first to get the page,
and the second to get the graph image. Make the browser perform the second
request by putting an <img> tag into the first response where the src
attribute points back to a page that serves the image data, e.g. <img
src="getGraph.aspx">.
Let us know where you get stuck.
"francis" <francistsp@yahoo.com> wrote in message
news:3e6da8c8$1@tnews.web.devx.com...
>
> Greetings! I'm new to ASP and I would like to know how I can write a
VB.net
> application to read some data(eg a pricing list) from a web page, store it
> in a database, and plot a graph from the data saved. Any advice will be
greatly
> appreciated. Thanks.
>
> Yours,
> Francis Tan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks