filehelpers Questions
8
Solved
Is there a built-in field attribute in the FileHelper library which will add a header row in the final generated CSV?
I have Googled and didn't find much info on it. Currently I have this:
Delimi...
Variety asked 20/10, 2010 at 7:49
4
I am using FileHelpers for exporting models to CSV. It has a [FieldNotInFile()] attribute which excludes fields when exporting, but I need to use properties as I need to some other attributes as we...
Allium asked 26/1, 2015 at 16:32
3
Solved
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 exception due to this.
All o...
Pfeiffer asked 12/6, 2012 at 16:27
1
Solved
I have a csv file that I am parsing with FileHelpers and I have a situation where both a quote and a comma can appear in a field:
Comma:
323,"PC","28/02/2014","UNI001","5000",0,"Return","Returned...
Mabe asked 23/3, 2017 at 11:24
1
Solved
I'm trying to set the date format of a CSV file I'm reading from via the FieldConverter attribute but I'm receiving the following error -
Attribute 'FieldConverter' is not valid on this declara...
Announcement asked 24/5, 2016 at 7:59
5
Solved
I'm looking to export a large SQL Server table into a CSV file using C# and the FileHelpers library.
I could consider C# and bcp as well, but I thought FileHelpers would be more flexible than bcp....
Olla asked 18/10, 2013 at 17:44
2
Using the FileHelper library for .Net, can I somehow skip a number of columns from the source file?
According to docs and samples, I have to add fields for all columns. Alas, I have an excel sheet...
Peanut asked 9/12, 2008 at 7:32
2
Solved
The SourceForge page - www.filehelpers.net - was last updated in 2007, and no downloads are available.
The Github repo - github.com/MarcosMeli/FileHelpers - looks recent but the last tagged releas...
Helse asked 9/11, 2013 at 20:56
1
Solved
I am using FileHelpers to create NACHA files. Example below
Many of the properties are numeric with leading zeros so they have been defined as strings. Is there an attribute that can pad the leadi...
Semipalatinsk asked 31/7, 2015 at 15:24
2
Solved
FileHelpers supports a feature called "RunTime Records" which lets you read a CSV file into a DataTable when you don't know the layout until runtime.
Is it possible to use FileHelpers to create a ...
Hexateuch asked 21/1, 2010 at 21:8
1
Solved
Are there any chances to have the MultiRecordEngine set the line number for each record?
I read the documentation and found that the Engine has a LineNumber property, but I couldn't find a way to ...
Gal asked 30/6, 2014 at 14:2
1
Solved
I'm trying to parse a CSV file from hell, using the fantastic FileHelpers library.
It's failing to handle a row of the form:
"TOYS R"" US"," INC.""",fld2,fld3,"<numberThousands>","<numbe...
Tuna asked 15/1, 2014 at 10:30
1
Solved
I am reading in a CSV file and everything is working correctly. All fields are going to the correct places but it is converting ® to �.
var engine = new FileHelperEngine(typeof(T));
return engine....
Zulazulch asked 5/9, 2013 at 14:46
1
I am using FileHelper 2.0 for parsing my csv data. Is there any option that filehelper can properly handle escaped delimiter? That it can identify field as data and not as delimiter.
Our csv forma...
Cato asked 30/8, 2013 at 9:44
2
I am using FileHelpers to write out fixed length files.
public class MyFileLayout
{
[FieldFixedLength(2)]
private string prefix;
[FieldFixedLength(12)]
private string customerName;
...
Tumbler asked 13/8, 2013 at 6:18
2
Solved
I'm trying to parse a very large csv file with FileHelpers (http://www.filehelpers.net/). The file is 1GB zipped and about 20GB unzipped.
string fileName = @"c:\myfile.csv.gz";
using (var fileSt...
Alika asked 5/3, 2013 at 20:29
1
Solved
FileHelpers has a nice date converter for fields:
[FieldConverter(ConverterKind.Date, "MM-dd-yyyy")]
public DateTime MyDate;
FieldConverter does not work with properties though. I have to deal ...
Albright asked 7/2, 2013 at 21:12
1
Solved
I have a CSV file that is being exported from another system whereby the column orders and definitions may change. I have found that FileHelpers is perfect for reading csv files, but it seems you c...
Swan asked 31/10, 2012 at 15:46
1
Solved
Good day to all,
i have a problem regarding CSV parse using File Helper. My CSV is look like this
,,,026642,0,00336,05,19,"WATERMELON *",19,"1 ",,,,,,,,0,,001.99.,0,,,,,0,,0,0,,,,,,,,,,,,,,,,,,51...
Grenada asked 12/10, 2012 at 7:28
1
I would like to add to FileHelpers an Excel parsing engine based on the NPOI library, but I can't find anywhere the source code of the 2.9.x version.
Anyone can point me where I can contrbut...
Couperin asked 17/7, 2012 at 15:27
1
Solved
I have a CSV that looks like:
a,b,c
a,b,c
a,"b,c",d
I'm marking 2nd field in delimited class with attribute:
[FieldQuoted('"', QuoteMode.OptionalForBoth, MultilineMode.AllowForRead)]
public St...
Fiertz asked 17/5, 2012 at 11:24
2
Solved
Can I build a class as shown below dynamically using reflection? There are no methods, just public variables, some have custom attributes.
Is the .Emit method required (from what I've seen, "Emit...
Scup asked 23/2, 2012 at 13:28
1
Solved
I am wondering why filehelpers return readonly columns.
I had a huge problem with them not updating values and could not figure out why. Now I have to have another loop to go through all the colum...
Aloysia asked 9/2, 2012 at 22:52
2
Solved
I am wondering how do I do multiple dates in filehelpers? It seems that you must specify every single format you are going to support (what kinda sucks...wish it could handle more of the basic ones...
Julissa asked 3/2, 2012 at 17:42
1
Solved
I downloaded FileHelpers from nuget but I am not sure if this feature does not exist or if I don't have the right version or what.
I been looking around and it seems that FileHelpers may have an a...
Annunciate asked 11/1, 2012 at 23:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.