Articles in this section
Category / Section

How to bind a dataset with date values in Chart?

1 min read

 

After creating a table with Datetime column, it must be bind to the dataset using ChartDataBindModel class.

C#

ChartDataBindModel model = new ChartDataBindModel(this.prodDs1,"Products");

model.XName = "ExpiresDate";

VB

Dim model As New ChartDataBindModel(Me.prodDs1, "Products")

model.XName = "ExpiresDate"

 

Where prodDs1 is the dataset, Products is the table name and XName is the Datetime column

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied