Mark,
I have downloaded and installed Microsoft Chart Controls Add-on for
Microsoft Visual Studio 2008 -
http://www.microsoft.com/downloads/...13-E1E5-4315-825C-F14D33A303E9&displaylang=en
I then created a new project in MS Visual Studio 2008 and added the Chart
control to a form however it does not show any chart or data when I run it in
debug.
This is the code in my default.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="Report_Test._Default" %>
<%@ Register assembly="System.Web.DataVisualization, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"
namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
Chart Example 1</div>
<asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSourceReport1">
<series>
<asp:Series Name="Series1">
</asp:Series>
</series>
<chartareas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>
</chartareas>
</asp:Chart>
<asp:SqlDataSource ID="SqlDataSourceReport1" runat="server"
ConnectionString="<%$ ConnectionStrings
ADSConnectionString %>"
SelectCommand="SELECT [Currency], [FXRate] FROM [tlkpCurrency]">
</asp:SqlDataSource>
</form>
</body>
</html>
I want to show the currency and its FXRate
-----------------------------------------------------------------------------------------------
Mark Rae said: