LINQ question - reading structured files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Griff

    LINQ question - reading structured files

    Hi

    Is it possible to query a structured file that is a FIXED WIDTH file rather
    than a delimited file?

    I think it would be great to first define how many columns one is expecting
    and the width (in characters) of each column, and then to be able to write
    WHERE clauses in the Linq query e.g. "where field(2) = [mySearchTerm]".

    But I can't find any examples on the web of how to achieve this...

    Thanks

    Griff


Working...