473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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
3 7349
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gian Paolo | last post by:
this is something really i can't find a reason. I have a form with a tabcontrol with tree pages, in the second page there is a Data GRid View. Plus i have a class. When i open the form i...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
6
by: alexia.bee | last post by:
Hi all, I am new to C# so please bear me :). I have an app which uses datagridview. it has 8 columns. I also have struct which has 8 members(the same as the datagridview). when I add row to...
0
by: David Mayerovitch | last post by:
As an exercise in learning Visual Basic 2005, I am putting together a simple XML editor. I place on the form the objects DataGridView1 and DataSet1. ' Read an XML file into DataSet1:...
4
by: Paul | last post by:
Hi, I have a project configured as follows: Main form with a tabcontrol with 1 tab page and a panel with some text boxes in. This form also has some bindingsources dropped onto the form. When...
9
by: trint | last post by:
How can I retrieve all of the data from a datagridview? Any help is appreciated. Thanks, Trint
6
by: =?Utf-8?B?TWFyY2Vsbw==?= | last post by:
Hello, I am new to pulling data into VB and using DataGridViews..... so this might be a dumb question but I can not seem to understand how to make this work. What I need acomplished: Exec a...
6
by: insirawali | last post by:
Hi all, I have this problem, i need to know is there a way i cn use the data adapter's update method in this scenario. i have 3 tables as below create table table1{ id1 int identity(1,1)...
0
by: dcollier9 | last post by:
Hi ! I need to embed a text box in a footer of a GridView's boundfield column to get data prior to a row insert. The textbox is usable and showing up in the web page source using View
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.