I want to display Date on x-axis of my chart.
I my database My date is in the format of DateTime. The column Name is Date..
I had written the code as
chart1.PloatArea.XAxis.DataLabelsColumn="Date";
But it is giving
I my database My date is in the format of DateTime. The column Name is Date..
I had written the code as
chart1.PloatArea.XAxis.DataLabelsColumn="Date";
But it is giving
an error message saying that unable to cast System.DateTime to System.String
Provide me solution for that