To make a DataTable(of a DataSet) from the TextSource

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ByoulOh
Newbie
Newbie
Posts: 4
Joined: Mon Jan 14, 2008 12:00 am
Contact:

To make a DataTable(of a DataSet) from the TextSource

Post by ByoulOh » Fri Jan 18, 2008 1:09 pm

Hi all,

I want to make a DataTable from a text file by using the TextSource of TeeChart library. And then, I want to show a DataTable on a DataGridView as follows;

DataTable table;
DataGridView dataGridView1;
...
...
dataGridView1.DataSource = table;

Can I get the DataTable from a TextSource linked to a text file without defining the series? Of course it is possible to use string parser, but I want to do that by using your library if it could.

Finally, I want a translator(DataTable from a text file) with your library^^
Have a nice weekend!

Sincerely,

Marc
Site Admin
Site Admin
Posts: 1265
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Thu Jan 24, 2008 10:34 am

Hello,

TextSource requires that a Series be set as internally it matches the textfile column names to Series Valuelists. There may be better ways to source the Datatable from Text but if you wish to use TextSource you will need to create a Series too.

Regards,
Marc Meumann
Steema Support

Post Reply