PC Review


Reply
Thread Tools Rate Thread

DAtagrid for Flat File

 
 
Thom Little
Guest
Posts: n/a
 
      30th Dec 2006
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.
 
Reply With Quote
 
 
 
 
CodeLeon
Guest
Posts: n/a
 
      30th Dec 2006

Thom Little wrote:
> 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>

 
Reply With Quote
 
Thom Little
Guest
Posts: n/a
 
      1st Jan 2007
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.
 
Reply With Quote
 
CodeLeon
Guest
Posts: n/a
 
      1st Jan 2007
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?

Thom Little wrote:
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Two Columns of Flat File to Final Excel File Neon520 Microsoft Excel Programming 0 9th Feb 2009 07:11 PM
Copy Two Columns of Flat File to Final Excel File Neon520 Microsoft Excel Programming 0 9th Feb 2009 07:11 PM
Exporting DataGrid to flat text file =?Utf-8?B?UGF0cml4MzE3?= Microsoft VB .NET 1 2nd Jun 2007 05:32 AM
Dynamically change the Flat File Sink file name in the MS Logging Application Block james.dixon@dewr.gov.au Microsoft C# .NET 0 28th Jun 2006 08:43 AM
Saving form data to a flat file database? Text file? =?Utf-8?B?Sm9yZGFuIEhvd3Nlcg==?= Microsoft Frontpage 4 16th May 2004 04:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 AM.