read txtfile data to array or datatable?

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Greetings,

I need to read the contents of a textfile to memory and
then write these contents to another location. I was
thinking of reading this data into a datareader, but I
don't see anything for that, sqlDataReader,
OleDBDatareader. Could someone tell me was kind of object
I should read the textfile data into?

Thanks,
Tim
 
You probably want to read it into a DataTable instead of a datareader. Or
are you asking what class to use to read the file into memory?

Chris
 
Tim,

In addition to Chris,

What is the start location of the textfile because that is in my opinion
complete unclear in your message.

Cor
 

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

Back
Top