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
Re: creating graphs from online data
You'll need to use the System.Net classes to make a WebRequest to get the
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
Let us know where you get stuck.
"francis" <email@example.com> wrote in message
> Greetings! I'm new to ASP and I would like to know how I can write a
> 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
> appreciated. Thanks.
> Francis Tan
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