DAtagrid for Flat File

T

Thom Little

I need to maintain data in a flat file (probably a tab delimited .txt file)
and would like to access it with gatagrid. I would populate it during
startup and save it on exit.

Can I access a flat file with datagrid? If I can can you point me to a
simple sample.

_______________________________________________
Thom Little www.tlanet.net Thom Little Associates, Ltd.
 
C

CodeLeon

Thom said:
I need to maintain data in a flat file (probably a tab delimited .txt file)
and would like to access it with gatagrid. I would populate it during
startup and save it on exit.

Can I access a flat file with datagrid? If I can can you point me to a
simple sample.

YES! In fact, .NET has methods and classes built-in just for using CSV
as a data source, in fact. Please go here: "Importing CSV Data and
saving it in database"
<http://www.codeproject.com/cs/database/FinalCSVReader.asp>
 
T

Thom Little

Fir this one I ended up going with DataGridView accessing an XML file. This
is truly elegant for an Internet environment that does not have SQL
available.

I will keep your solution on file for the nest one.

Thank you.

_______________________________________________
Thom Little www.tlanet.net Thom Little Associates, Ltd.
 
C

CodeLeon

No problem :) The suggestion I gave would work great for many
solutions, but if DataGridView has builtin methods for accessing XML,
then by all means use it ;)

By the way, nice website. I think it is neat, but when you read this,
could you contact me via email, please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pass IMG Number 20
SMTP and POP3 Healthy 3
Network Health 5
Read ASP 3 Session Data 5
Vista Files 3
Date Format 2
Organization 3
Hyperlink 9

Top