|
|
Comments and Discussions
|
|
 |

|
I am using FileHelper for exporting the data to csv for my C# project. I am facing an exception
"The process cannot access the file"
the reason is the file is already opened. Is there any option to check whether the file is already opened or not.
FileHelperEngine engine = new FileHelperEngine(typeof(ClassName));
engine.WriteFile("file.csv", obj); //Here I got the exception hit
Thanks in advance.
|
|
|
|

|
Thinks for a great library.
We are using the following code to read a table of data where the number of columns are not known at build time - only at run time. We provide a DataTable to the Classbuilder to specify the required columns.
public DataTable readFile(string aFilePath, DataTable aFileDefinition)
{
DelimitedClassBuilder classBuilder = new DelimitedClassBuilder(aFileDefinition.TableName,
",",
aFileDefinition);
classBuilder.IgnoreFirstLines = 1;
classBuilder.IgnoreEmptyLines = true;
classBuilder.IgnoreCommentedLines.CommentMarker = "##";
FileHelperEngine engine = new FileHelperEngine(classBuilder.CreateRecordClass());
engine.ErrorManager.ErrorMode = ErrorMode.SaveAndContinue;
DataTable dataTable = engine.ReadFileAsDT(aFilePath);
if (engine.ErrorManager.HasErrors)
{
This works fine in most cases but unfortunately if the last column is of type "uint" and the file happens to contain additional columns we were not expecting it does not trap the error and gets the data in the last column wrong.
For example a file defined as having 4 columns of uint's but with file content as follows:
1,2,3,4,5
Would result in 4 columns with values as follows:
1,2,3,45
This does not happen if you leave spaces in the file as follows:
1, 2, 3, 4, 5
Can you suggest what we may be doing wrong or if there is a workaround for this issue - please bear in mind we have no control over the source files we are reading so need to trap the error so we can inform the user.
Many Thanks.
|
|
|
|

|
this article helpd me alot
|
|
|
|

|
I need to sort large text files (+4GB).
Basically using a substring, something like:
lineInput.Substring(5, 100)
I've been reading the documentation and see that the library can sort files using records:
CommonEngine.SortFile
Public Shared Sub SortFile(ByVal recordClass As Type, _
ByVal sourceFile As String, ByVal sortedFile As String)
But what about using a substring?
and handling 4GB files?
Thanks for any help.
|
|
|
|
|

|
Hello, I posted or rather tried to post a question on the FileHelpers forum (http://www.filehelpers.com/forums/) about an issue I had. It appears that no one is really monitoring the site along with it being bombarded with spam.
Anyway, I currently have an issue that seems to have come up with a project that I have. I'll describe the process of my program first.
My program is designed to go out daily to retrieve a .zip file using SFTP from our bank. After getting the zip file, it extracts the zip to a new location and goes looking for a csv file that is in it. After it finds the csv file, the program tries to read the data to eventually write it into SQL Server. Finally, I do some cleanup with moving the zip file to an archive folder and delete the extracted files.
Ok, initially I was using OLEDB and everything was great. However, anomalies came up with extremely large numbers being blanked out for one column for some of the records at times. This led me to research and eventually use FileHelpers.
The data is being stored correctly now without any anomalies. However, I now have an issue with deleting the extracted files folder as part of my cleanup routine. I'm getting "The Directory is not empty" which I can only assume means that the new code somehow has its hooks in the CSV file. I never had an issue with OLEDB for removing the folder.
My code for using FileHelpers currently uses 2 objects to read the csv file. After that, I set the objects to Nothing as you can see below.
Dim engine As New FileHelperEngine(GetType(CashFile))
Dim cb As New DelimitedClassBuilder("CashFile", ",")
.....
.....
engine = New FileHelperEngine(cb.CreateRecordClass())
Dim dt As DataTable = engine.ReadFileAsDT(strFilePath)
engine = Nothing
cb = Nothing
Anyway, my program is now at times working as it should with deleting the extracted folder. Other days, I get the "The directory is not empty." error. Does anyone know how to resolve this issue?
|
|
|
|

|
The latest version of FileHelpers binaries, utilities, and documentation can be found via the link below. As of this writing, it is version 2.9.10 dated August 2011:
http://teamcity.codebetter.com/project.html?projectId=project41
Click on the "Login as a Guest" button after opening this link.
I used this library for years and can recommend it enthusiastically. The latest version has many fixes and improvements over the 2.0 version posted on this forum. It also supports .NET Framework v4.0 and MS Excel 2010 files. I have used v2.9.10 to import and export many different and complex file types without any problems.
I suggest that you not pester Marcos for support of this latest version as he has not officially released it.
|
|
|
|

|
Hola Marcos...
Primero que todo te felicito por tu codigo y te doy las gracias por compartirlo.
Estoy ocupando tu DLL, no soy un programador experto, y tengo una consulta puede setear el separador al momneto de leer el archivo, por ejemplo:
Yo ya tengo seteada la clase con delimitador por ejemplo punto y coma (;) pero el archivo a cargar tiene como separador el pipe (|) puedo cambiar el delimitador en tiempo de ejecucion.
Estuve viendo la documentacion pero hay un ejemplo para cuando se crea un archivo, pero no cuando se lee.
¿Se hace de la misma forma cuando se crea un archvio que cuando se lee, y si es posible que escribas un pequeño ejemplo de unas pocas lineas?
Bueno de nuevo graacias.
|
|
|
|
|

|
Hello,
I really like your library, I use it a lot but I got some trouble with Excel files.
I use that class:
[IgnoreEmptyLines]
[IgnoreCommentedLines("//", true)]
[DelimitedRecord("|")]
public sealed class PIPESep
{
public String Field1;
public String Field2;
public String Field3;
}
and thats my code to extract the records:
ExcelStorage provider =
new ExcelStorage(typeof(PIPESep50))
{
StartRow = 1,
StartColumn = 1,
FileName = (DocumentsPath + _currentVersand.Importdatei)
};
DataTable _dt = provider.ExtractRecordsAsDT();
everything workes fine if the Excel file is complete. But if there is an empty field in the first colum, the engine stops and thinks the Excel file is finished, but it isnt't. How can I fix this?
thanks
bye
Hannes
|
|
|
|
|

|
Hi,
Firstly great job!
I have converted your wizard to a web app if you want it for your next release? Its not pretty but it works.
I also have a question.
I am trying to use the wizard to define a structure with the fields (This is done)
Then I am trying to take that compiled code and reference the class as a way to loop through records rather than use a DataTable
FileHelperEngine engine = new FileHelperEngine(mType);
engine.ErrorManager.ErrorMode = ErrorMode.SaveAndContinue;
YourRecordClass[] res = (YourRecordClass[])engine.ReadFile(@"YourFile.txt");
if (engine.ErrorManager.ErrorCount > 0)
engine.ErrorManager.SaveErrors("Errors.txt");
}
then I want to store the record in a BLOB or XML file for later reloading and using in the same dynamically late binded class / dll.
I know reflection is the key here but I was wondering if you have this done anywhere in your framework that I can simply call.
|
|
|
|

|
1. Very important, the attributes do not work on properties, which makes me create new classes just to have public fields.
2. Also very important, derived from first issue, does not take into consideration computed properties.
3. Usually a csv has also the column headers, this one doesn't allow them. Sure, I can pass in an array of strings, but is not nice.
|
|
|
|

|
Hello,
I have a CSV file where the Date and the time are into 2 fields.
How can I use FileHelpers to aggregate the 2 fields into the same DateTime data ?
Thanks,
2011.01.07,09:56,1.2985,1.2986,1.2979,1.2981,103
2011.01.07,09:57,1.2981,1.2982,1.2979,1.2982,75
2011.01.07,09:58,1.2982,1.2982,1.2976,1.2977,83
2011.01.07,09:59,1.2977,1.2981,1.2977,1.2980,97
2011.01.07,10:00,1.2980,1.2980,1.2978,1.2979,101
2011.01.07,10:01,1.2980,1.2981,1.2978,1.2978,57
2011.01.07,10:02,1.2978,1.2979,1.2977,1.2978,86
2011.01.07,10:03,1.2978,1.2978,1.2973,1.2973,84
2011.01.07,10:04,1.2973,1.2976,1.2973,1.2975,71
2011.01.07,10:05,1.2974,1.2977,1.2974,1.2977,53
2011.01.07,10:06,1.2977,1.2979,1.2976,1.2978,57
2011.01.07,10:07,1.2978,1.2978,1.2976,1.2976,53
2011.01.07,10:08,1.2976,1.2980,1.2976,1.2980,58
2011.01.07,10:09,1.2979,1.2985,1.2979,1.2980,63
|
|
|
|

|
I am needing to create a csv file, and this tool is execellent.
One thing I am struggling with is that the CSV file needs the first row to contain the field names. I tried setting FileHelperEngine.HeaderTxt, but this just puts the whole text in the first field.
engine.HeaderTest = "Column1,Column2,Column3";
Any suggestions?
|
|
|
|

|
I'm currently using LINQ to CSV library[^].
It's a good library reading and writing CSV files. It can handle all kinds of formats if only they comply with the CSV.
However, there are several features missing:
1. I cannot read part of the fields, which means, I have to read all fields from the file exactly as how the Data Class is defined. This makes the library less flexible: we cannot read the CSV file (written with DataClass1) with DataClass2.
2. How to Import/Export Dynamic Number of Fields in a Class?
I have a class like this:
public class DynamicNumberFields
{
[CsvColumn(FieldIndex = 1, Name = "Full Name")]
public string FullName { get; set; }
public int[] Years { get; set; }
}
How should I deal with this?
Thanks.
Peter
|
|
|
|
|

|
Works great and makes doing simple things simple.
|
|
|
|

|
I am receiving : EXCEPTION OF TYPE 'SYSTEM.OUTOFMEMORYEXCEPTION' WAS THROWN .
I am trying to read a fixed width 2.1 gb txt file.
I have 6 gb of memory and windows 7 64 bit.
Please help !
thanks great program!
|
|
|
|

|
make me easy to store data in file
|
|
|
|

|
Excellent framework, very nicely implemented, and wizards are incredible to use! Nice job!
|
|
|
|
|

|
how to convert number like "3.14E-5" to double value?
set the fieldConvert attribute?
|
|
|
|
|
|

|
So what's the secret for writing out the field names as headers?
I can't find a way to do it other than manually creating a header record which is not guaranteed to be in the same order that the fields are written out.
Thanks
|
|
|
|

|
How do I get this to recognise singles quotes in a field, and insert this into the table with the single quotes
my insert function is working as it should but when It finds a field with single quotes the application crashes
I have looked how to prevent this adding this line in the code: FileHelpers.FieldQuoted("'")
but it still crashes
any help is highly appriciated
|
|
|
|

|
Hi, This project looks very interesting.
Is there any step by step guide to import data from CSV file into MS Access table? in VB.NET
|
|
|
|

|
Excellent!
Best regards,
Rui Jarimba
|
|
|
|

|
Thanks a lot, this is a great tool, and very easy to use!
--
"Keyboard not found. Press < F1 > to RESUME. "
Source unknown (appears in many common BIOSes as a real error message)
|
|
|
|

|
We managed to perform Compact & Repair form VB cosde. I would like to know how to read the results of the completed compact and repair. Wher does Access erites it (if any)? How can i access it and read it to interpret the results and take actions baed on these results?
While on the subject, How can I decide whether an Access file is corrupted or contains tables with corrupted records?
Thanks in advance.
|
|
|
|

|
Dude,
Question for ya: why don't you use Jet/OleDB to insert/read data from Excel files? This way we:
a) don't need to have Excel installed on the machines running the code
b) have this code running much faster
Let me know what you think.
Best,
Robson
|
|
|
|

|
Is there a way to specify a line terminator after the last record in myrecordclass?
|
|
|
|

|
Hi, FileHelpers is really an excellent tool. Great job!
While testing I have felt that following feature would make it more versatile:
1. Currenly FileHelpers separate records by NewLine. So it uses ReadLine() to read lines from Stream.
2. It would be really excellent if you could add the provision to read fixed and variable length records that are not separated by Newline.
a. Fixed Length:
i. All records are of same size. We define the size of the Record and specify size of each Field.
Example Attribute:
[RecordSize=504]
ii. Records are of variable size. Certain field in the record specify the type of the Record which dictates the size of the record.
Example Attribute:
[Recordsize=variable]
[When RecordType='{ID}=="00"']
List of fields and size
Define Filed ID
List of fields and size
[When RecordType='{ID}=="01"]
List of fields and size
Define Filed ID
List of fields and size
Ok, There goes my wish list.
----------
Rezaul Kabir
|
|
|
|

|
Could I add header and trailer to the CSV?
Thanks a lot ....
|
|
|
|

|
Hi
Well, library looks great. I have a little question that if I want to open a csv file whose structure is not known to me but it has the header rows and is tab separated. I want to load it into a dataset and later to bindingsource.
Basic question is that is it possible to open a file without knowing the structue?
Thanks in advance
MAP Tiger
Tiger Softwares
Software Designer and Developer
VB.NET, ASP.NET, VFP
|
|
|
|
|

|
Can this library handle exporting tables from a SQL server 2005 database into a Excel spreadsheet?
Thanks for the help and for contributing a great product.
|
|
|
|

|
Marco, this is an amazing library. Thanks very much for this; I only hope to be able to one day provide something as valuable as this as well.
I have a question. I'm building an application that allows the user to define their own "lists." The user specifies the columns, datatypes, etc... I want to give them the ability to export data from one of their custom list using your library, but this means that I need to be able to generate a mapping class "on the fly" based on the column layout they have defined. Is there an automated way of doing this? Or is the Wizard the only way to generate a mapping library? Please let me know if my question doesn't make sense.
Many Thanks,
Steve
|
|
|
|

|
hello i try to import csv data into a table of a database without success. here is the format of the csv file : IdEleve;Nom;Prenom;Niveau_Classe;Sexe;Ddn 1;ANNE;Tanguy;CE2;G;25/05/1998 2;BAISNÉE;Laurine;CM2;F;08/07/1997 3;BAISNÉE;Leslie;CM2;F;08/07/1997 I tried to follow the example, but my knowledge is not enough to understand all the steps. Here is the code i put in a class , but i get few errors i couldn't fix. Imports FileHelpers Imports FileHelpers.DataLink.AccessStorage Public Class Class1 <DelimitedRecord(";")> _ Public Class Orders Public OrderID As Integer Public Nom As String Public Prenom As String Public Niveau_Classe As String Public Sexe As String <FieldConverter(ConverterKind.[Date], "ddMMyyyy")> _ Public Ddn As DateTime End Class Dim storage As New DataLink.AccessStorage(GetType(Orders), "TestData.mdb") storage.SelectSql = "SELECT * FROM Orders" storage.FillRecordCallback = New FillRecordHandler(FillRecordOrders) FileDataLink.EasyExtractToFile(storage, "out.txt") Protected Sub FillRecordOrders(ByVal rec As Object, ByVal fields As Object()) Dim record As Orders = DirectCast(rec, Orders) record.OrderID = CInt(fields(0)) record.Nom = DirectCast(fields(1), String) record.Prenom = DirectCast(fields(2), String) record.Niveau_Classe = DirectCast(fields(3), String) record.Sexe = DirectCast(fields(4), String) record.Ddn = DirectCast(fields(5), DateTime) End Sub End Class In fact i don't know how to use this, i am a real beginner.... But i feel, it can make the job. I hope you can help me Thanks pascal scalpa http://www.scalpa.info
|
|
|
|

|
I'm dealing with some very large fixed width files (> 100 fields per record) - when I try to add more than 100 fields in the Wizard I get the following exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
FileHelpers.FileHelpersException: The string '' not is a valid .NET identifier.
at FileHelpers.RunTime.FieldBuilder..ctor(String fieldName, String fieldType)
at FileHelpers.RunTime.FixedLengthClassBuilder.AddField(String fieldName, Int32 length, String fieldType)
at FileHelpers.WizardApp.frmWizard.CreateFieldControl()
at FileHelpers.WizardApp.frmWizard.cmdAddField_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FileHelpersWizard
Assembly Version: 1.5.0.0
Win32 Version: 1.5.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/FileHelpersWizard.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
FileHelpers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/FileHelpers.DLL
----------------------------------------
Fireball.CodeEditor
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.CodeEditor.DLL
----------------------------------------
Fireball.Windows.Forms
Assembly Version: 1.9.0.0
Win32 Version: 1.9.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.Windows.Forms.DLL
----------------------------------------
Fireball.SyntaxDocument
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.SyntaxDocument.DLL
----------------------------------------
Fireball.Win32
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.Win32.DLL
----------------------------------------
Fireball.Core
Assembly Version: 1.1.0.2
Win32 Version: 1.1.0.2
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.Core.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Fireball.CodeEditor.SyntaxFiles
Assembly Version: 1.0.0.2
Win32 Version: 1.0.0.2
CodeBase: file:///C:/Documents%20and%20Settings/Martin%20Hughes/Desktop/FileHelpers_2_0_0_bin_docs_wizard/FileHelpers/Wizard/Fireball.CodeEditor.SyntaxFiles.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|

|
I have this small sample:
ExcelStorage provider = new ExcelStorage(typeof(Person));
Person p = new Person();
p.FirstName = "Steve";
provider.FileName = "Test.xls";
provider.InsertRecords(new Person[] { p });
There is no WriteToFile equivalent for ExcelStorage ?
I need to both create and read an excel spreadsheet
|
|
|
|

|
Hi Marcos,
Great stuff you have here! I was just wondering why you return a static array of e.g. "Customer" (Customer[]) from the generic engine's .ReadFile method, instead of a List ?
I think using the generic lists would be a lot easier than a clunky array...
Cheers!
Marc
=============================
Marc Scheuner, Berne, Switzerland
mscheuner - at - gmail.com
May The Source Be With You!
|
|
|
|

|
hello could anyone please help me figure out how i can make this wonderful
library read the MS Excel CSV files , thank you all for your time , im a newbie to c# and i couldnt understand for the samples how to do it , help me make it work and i'll donate 20$ thanks
i got a file that looks like this:
Site Name Title Site Auction ID Quantity Order SubTotal Buyer E-mail Address Seller Left Feedback SKU Winning Bidder Unit Price Invoice Quantity Invoice Date Class Order ID Bidder Status E-mail Status Payment Status Shipping Status Transaction Status Checkout Status Payment Type Shipping Addr 1 Shipping Addr 2 Shipping City Shipping Region Shipping Postal Code Shipping Country Shipping Carrier Code Shipping Carrier Shipping Class Code Shipping Class Second Chance Offer Promotion Code Buyer First Name Buyer Last Name Buyer Company Buyer Day Phone Buyer Evening Phone Estimated Ship Date Deliver By Date External Payment Transaction ID Seller Cost Flag Description Order Total Promotion Value Tax Total Tracking Number Shipping Cost Transaction Notes Shipping Date Warehouse Location
"some secret data" "some more secret data" "3242346543634" 1 9.89 "sensord data that is" False "3243" "secretgirl" 9.89 1 8/8/2007 5:35:10 PM "someitem" "234233" "some secret e-mail thing" "Payment cleared" "Items shipped" "Transaction valid" "Checkout completed" "PayPal" "secret again" "secret adress" "secret place" "LOL" "1232" "BB" "Secret POST" "SECRET POST" "Air Mail" "Air Mail" False "Claire" "Amos" "LONGNUMBER123212" 3.10 18.89 0.00 0.00 7.00 8/8/2007 6:11:19 PM "MEH4"
Net
|
|
|
|

|
Been programming for over 10 years now and tonight was one of those rare moments when the app worked the first time with my data layer. I am so stoked!!!
Thank you, I will be donating as soon as I finish the framework.
Have you thought of adding a fail safe Folder Watcher to complete the package and XML table schema interface?
~VbMan
|
|
|
|

|
Great software and nice documentation.
The one thing I couldn't find is a way to stream a datatable to .csv in ASP.NET Browser.
Can someone provide a snipped to do this?
Thanks,
Kevin
.NET Consulting
http://www.kineticmedia.net
|
|
|
|

|
Hello,
First of all, i want to thank you for such a great library, It's amazing and im using it for my project.
I have a question here, I have an input file like this here:
col1,col2
This is a nice file.,I agree.
This real test/, I think/, is the escape character.,I agree with that as well.
The output file expected is:
col1:
This is a nice file.
This real test, I think, is the escape character.
col2:
I agree.
I agree with that as well.
This is a comma delimited file with / as Escape Character.
I really appreciate if you can tell me how to handle this case. (Im using runtime records).
Thank you.
-- modified at 14:13 Friday 20th April, 2007
|
|
|
|

|
Hi,
I wonder is it possible? Can i define a DateTime field and allow it to read null value? I have tried but seems impossible.
Thank you!
Very nice library by the way!
|
|
|
|

|
I was burning quite a few brain cells trying to create an application import directly from a twisted tab delimited text file and found so many road blocks that I was on my way to frustration ville, then I found this wonderful library, it works like a dream over all and it made my application so simple and easy to integrate, congratulations and thank you for such a great job!!!.
Sigue adelante Marcos, gente como tu hace que pequeños aprendices como yo sigamos intentando alcanzar ese nivel algun dia.
|
|
|
|

|
This is one of the most detailed articles I have read in a long time. I am giving you my 5!!!
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
An easy to use .NET library to read/write strong typed data from files with fixed length or delimited records (CSV). Also has support to import/export data from different data storages (Excel, Acces, SqlServer, MySql)
| Type | Article |
| Licence | BSD |
| First Posted | 5 Nov 2005 |
| Views | 1,061,254 |
| Downloads | 1,106 |
| Bookmarked | 837 times |
|
|