Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

Note: VB.NET developers browse the Tips for VB.NET first.

Download Example Code Click HERE To download two example projects (C# and VB.NET)

Quick Start for Fixed Length files(easy steps)

Or check the Delimited File Example or Record by Record Example

To start using the FileHelpers Library you only need to add a reference in your project to the file: FileHelpers.dll. you can find it in the Release directory of the distribution. Tip: remember to left the FileHelpers.xml file to get Intellisense support.

Next you need to define a class that maps to the record in the source/detination file.
For this example we use a file with this format:

 

So you must write this class:

C#
VB.NET

Later you need to create a FileHelperEngine and Read/Write files:

C#
VB.NET

Finally we can use the res array to access each item in the file, for example:

C#
VB.NET

See also

Must Read - Quick Start Guide - Attributes List - F.A.Q. - Examples of Use - Contacts & Credits - Donations

© 2005-07 to Marcos Meli

FileHelpers on SourceForge
Browse the Forums Development Blog
Support the project
Devoo Software
Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox