Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
DataBind UltraChart to Sql table and display in aspx page
posted

Hello,

 I just started using the Infragistics tool, and I have to create an UltraChart and information from a SQL DB has to be displayed on the chart. Now I'm not sure how to bind the data from the Sql table to the chart and then display that chart on a .aspx webpage when a link is clicked.

I am using Microsoft Visual Studio 2008 and NetAdvantage for .Net Vol1 CLR 3.5 with Microsoft Sql Server.

 I have used this code in the .vb file......What am I missing? The chart is on the .aspx page in a form, tables are used.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles form1.Load

UltraChart1.DataSourceID = Infragistics.UltraChart.Data.DemoTable.Table

UltraChart1.DataBind()

End Sub

 

In .aspx file this is code generated by the chart, is something missing here?

<igchart:UltraChart ID="UltraChart1" runat="server" BackgroundImageFileName=""

 

A quick response will be greatly appreciated.

 

Thanks!

Parents Reply Children
No Data