472,373 Members | 1,552 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 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 7240
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
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.