Home All Groups Group Topic Archive Search About

Data in datagridview from a text file

Author
29 May 2006 1:44 PM
Leszek
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?

Author
30 May 2006 6:11 AM
Cor Ligthert [MVP]
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?ID=1b644f6b-aa01-49f6-bc1f-212f9e0de193

I hope this helps,

Cor

Show quoteHide quote
"Leszek" <ma***@zegarek.com> schreef in bericht
news:OrkosYygGHA.4040@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?
>
Author
30 May 2006 6:27 AM
Leszek
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.


Show quoteHide quote
U¿ytkownik "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> napisa³ w
wiadomo¶ci news:uzGW0%236gGHA.4776@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?ID=1b644f6b-aa01-49f6-bc1f-212f9e0de193
>
> I hope this helps,
>
> Cor
>
> "Leszek" <ma***@zegarek.com> schreef in bericht
> news:OrkosYygGHA.4040@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?
>>
>
>
Author
31 May 2006 4:49 AM
Cor Ligthert [MVP]
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

Show quoteHide quote
"Leszek" <ma***@zegarek.com> schreef in bericht
news:%23suaYJ7gGHA.2456@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]" <notmyfirstn***@planet.nl> napisa³ w
> wiadomo¶ci news:uzGW0%236gGHA.4776@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?ID=1b644f6b-aa01-49f6-bc1f-212f9e0de193
>>
>> I hope this helps,
>>
>> Cor
>>
>> "Leszek" <ma***@zegarek.com> schreef in bericht
>> news:OrkosYygGHA.4040@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?
>>>
>>
>>
>
>