Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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!


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 09:37 AM
Pie Chart lryckman Access 0 April 26th, 2004 11:44 AM
Drill Down from Bar Chart to another chart snowbird Crystal Reports 0 July 11th, 2003 01:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.