Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > Visual Web Developer 2008
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Web Developer 2008 Discuss creating ASP.NET 3.5 sites with Microsoft's Visual Web Developer 2008. If your question is more specific to a piece of code than the Visual tool, see the ASP.NET 3.5 forums instead. If your question is specific to the "Express Edition" be sure to state that in your post.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2008 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 4th, 2009, 02:58 PM
Authorized User
 
Join Date: Jan 2009
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Default Using the Chart Control

I am trying to link a data source to the chart control but I cannot get it to display when I run it in the browser.

Code:
<asp:ChartID="Chart1"runat="server">
<Series>
<asp:SeriesName="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartAreaName="ChartArea1">
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
</p>
<p>
&nbsp;</p>
<p>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:ASPNETDBConnectionString30 %>"SelectCommand="SELECT [Name], [number] FROM [graphtest]">
</asp:SqlDataSource>
As you can see I have tried to link it to a data source. I have tried configuring various properties but I cannot get anything to display.

Could anyone recommend a tutorial or give me a few pointers on the above code. Thanks!
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for a chart/graph control.. gbianchi .NET Framework 2.0 2 November 15th, 2007 12:12 PM
Chart keso VB How-To 2 November 30th, 2006 04:51 AM
Using Customized chart for Pivot Chart kliu9 Excel VBA 3 October 13th, 2004 10:37 AM
Pie Chart lryckman Access 0 April 26th, 2004 12:44 PM
Drill Down from Bar Chart to another chart snowbird Crystal Reports 0 July 11th, 2003 02:53 PM



All times are GMT -4. The time now is 05:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.