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.


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

model.XName = "ExpiresDate";


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?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment