Code below is used to read fixed width uploaded file content text file using FileHelpers in ASP .NET MVC2
First and last line lengths are smaller and ReadStream causes e
the best is to decorate your class with the [IgnoreFirst] attribute.
If for some reason you can't add the attribute you can do something like this
var engine = new FileHelperEngine(); engine.BeforeReadRecord += (e, args) => { if (args.LineNumber == 1) args.SkipThisRecord = true; };