Page 1 of 1

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

Posted: Fri Jan 18, 2008 1:09 pm
by 13047978
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,

Posted: Thu Jan 24, 2008 10:34 am
by Marc
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