467,132 Members | 1,157 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,132 developers. It's quick & easy.

Data in datagridview from a text file

Hello!

Is there any possibility to load a datagridview from a text file? I have
*.tsv file with performance counters and I'm trying to create a webpage (or
Windows application), that will show charts etc. I don't know how to connect
text file and datagridview.

I didn't find any datasource that reads from .tsv file. First row in file
will be names a columns. Other rows will be a data.
Maybe someone show me an example?
May 29 '06 #1
  • viewed: 7046
Share:
3 Replies
Leszek,

You can fill a csv file with OleDb in a Dataset. From which are tons of
samples.

Here the one on our website, that dataset can be used as your datasource.

http://www.vb-tips.com/default.aspx?...f-212f9e0de193

I hope this helps,

Cor

"Leszek" <ma***@zegarek.com> schreef in bericht
news:Or**************@TK2MSFTNGP04.phx.gbl...
Hello!

Is there any possibility to load a datagridview from a text file? I have
*.tsv file with performance counters and I'm trying to create a webpage
(or Windows application), that will show charts etc. I don't know how to
connect text file and datagridview.

I didn't find any datasource that reads from .tsv file. First row in file
will be names a columns. Other rows will be a data.
Maybe someone show me an example?

May 30 '06 #2
Cor, thanks :)

Maybe u know any way, how to create any chart (ASP.NET or Windows
Application), that will take a data from text file?
And about csv - i dodn't know how to use tsv. Maybe i'm doing something
wrong with this provider...

Thanks for answer.
Użytkownik "Cor Ligthert [MVP]" <no************@planet.nl> napisał w
wiadomości news:uz****************@TK2MSFTNGP05.phx.gbl...
Leszek,

You can fill a csv file with OleDb in a Dataset. From which are tons of
samples.

Here the one on our website, that dataset can be used as your datasource.

http://www.vb-tips.com/default.aspx?...f-212f9e0de193

I hope this helps,

Cor

"Leszek" <ma***@zegarek.com> schreef in bericht
news:Or**************@TK2MSFTNGP04.phx.gbl...
Hello!

Is there any possibility to load a datagridview from a text file? I have
*.tsv file with performance counters and I'm trying to create a webpage
(or Windows application), that will show charts etc. I don't know how to
connect text file and datagridview.

I didn't find any datasource that reads from .tsv file. First row in file
will be names a columns. Other rows will be a data.
Maybe someone show me an example?


May 30 '06 #3
Leszek,

If it would not go than I would make a temp file changing all the "tab" for
the delimiter in your country (what is in my idea the ";") and use it than.

Cor

"Leszek" <ma***@zegarek.com> schreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
Cor, thanks :)

Maybe u know any way, how to create any chart (ASP.NET or Windows
Application), that will take a data from text file?
And about csv - i dodn't know how to use tsv. Maybe i'm doing something
wrong with this provider...

Thanks for answer.
Użytkownik "Cor Ligthert [MVP]" <no************@planet.nl> napisał w
wiadomości news:uz****************@TK2MSFTNGP05.phx.gbl...
Leszek,

You can fill a csv file with OleDb in a Dataset. From which are tons of
samples.

Here the one on our website, that dataset can be used as your datasource.

http://www.vb-tips.com/default.aspx?...f-212f9e0de193

I hope this helps,

Cor

"Leszek" <ma***@zegarek.com> schreef in bericht
news:Or**************@TK2MSFTNGP04.phx.gbl...
Hello!

Is there any possibility to load a datagridview from a text file? I have
*.tsv file with performance counters and I'm trying to create a webpage
(or Windows application), that will show charts etc. I don't know how to
connect text file and datagridview.

I didn't find any datasource that reads from .tsv file. First row in
file will be names a columns. Other rows will be a data.
Maybe someone show me an example?



May 31 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Gian Paolo | last post: by
6 posts views Thread by alexia.bee@gmail.com | last post: by
4 posts views Thread by Paul | last post: by
6 posts views Thread by =?Utf-8?B?TWFyY2Vsbw==?= | last post: by
6 posts views Thread by insirawali@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.