Hi,
I have problem with dataset (ASP.Net):
DataView dv = new DataView(ds.Tables[2]);
Steema.TeeChart.Chart ch1 = myChart1.Chart;
Steema.TeeChart.Styles.Line s1 = new Steema.TeeChart.Styles.Line(ch1);
ch1.Series.Add(s1);
ch1.Axes.Bottom.Labels.DateTimeFormat = "dd/MM/yyyy hh:mm:ss";
s1.YValues.DataMember = "Value";
s1.XValues.DateTime = true;
s1.XValues.DataMember = "ReadingTime";
// ch1.Series[0].SeriesData = ds.Tables[2].Columns["ReadingTime"].ToString();
s1.DataSource= dv; // here is error
s1.CheckDataSource();
Error message:
"Input string was not in a correct format".
I have no idea why is this error.
Similar code in Windows Forms is working.
please - help
Regards
Leszek
problem with DateTime (ASP.Net)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Leszek,
Could you please try doing as in the example Christopher Ireland posted here?
You may also be interested in checking the example pw posted here on the 6th of February 2006.
If the problem persists, could you please post or send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Could you please try doing as in the example Christopher Ireland posted here?
You may also be interested in checking the example pw posted here on the 6th of February 2006.
If the problem persists, could you please post or send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |