Read / write to a proprietary data file

  • Thread starter Thread starter Mike Stephens
  • Start date Start date
M

Mike Stephens

I have a requirement to read / write to a proprietary data file. The fill
will have no more than 10 records with no more than 10 fields. This is only
for very simple data access. I want to completely avoid using ADO and XML.

If someone can please point me in the right dirrection.

Regards,
Mike.
 
Hi Mike,
Take a look for "streamreader class or/and streamwriter class " in MSDN
Everything is written there
Cor
 
I have a requirement to read / write to a proprietary data file. The
fill will have no more than 10 records with no more than 10 fields.
This is only for very simple data access. I want to completely avoid
using ADO and XML.

If someone can please point me in the right dirrection.

Is this a binary or text file?

Check out System.IO class. There are classes to read/write binary and text
files.
 
I would like to write to a binary file

Lucas Tam said:
Is this a binary or text file?

Check out System.IO class. There are classes to read/write binary and text
files.
 
I would like to write to a binary file

BinaryReader/BinaryWriter.

But if there is an ADO.NET driver available for the binary file, I would
use that instead...
 
Back
Top