about binaryreader



Hello MVPs:

I am not sure when to use binaryreader in .net is best?
In fact ,I am coding a program which converts data in text files
into DB. but i have to use fixed length to read data in file(old format).
Here fixed length means the count of bytes read not the count of chars read.
because there are 2-byte chars in the data file. What about to use
binaryreader to read a text file to solve this problem.
If i use streamreader,how to accomplish it?

thanks in advance.

.



Relevant Pages

  • Re: get the first word of a file
    ... >> I have a data file of the format ... cat serves no purpose. ... Prev by Date: ...
    (comp.unix.shell)
  • How to read a data file which the No. of Lines is unknown reviously?
    ... I need to input several data file generated by some experimental equipment. ... The files are in text format. ... Prev by Date: ...
    (comp.lang.fortran)
  • Using Excel as data source
    ... When I use an Excel file as my data file, is there any way that I can get ... format in Excel but when I mailmerger the data the format is lost. ... Prev by Date: ...
    (microsoft.public.word.mailmerge.fields)
  • formatting text
    ... And I like to format it as follows: ... and length of line is lets say "20" chars. ... but don't like to reinventing wheel. ... Prev by Date: ...
    (perl.beginners)
  • My imap data file is PF (1997-02). How do I update it?
    ... The data file is the old format - and that gives me problems when ... transferring it to another computer. ... How do I change the format? ... Prev by Date: ...
    (microsoft.public.outlook.installation)