A angus Aug 9, 2004 #1 Dear All, Are there any library, in .net to write/read csv file? Thank you Regards, Angus
A angus Aug 9, 2004 #2 is there any similar library available in .net? http://ostermiller.org/utils/ExcelCSV.html Thank you
J Joerg Jooss Aug 9, 2004 #3 angus said: Dear All, Are there any library, in .net to write/read csv file? Click to expand... Assuming your CSV does not contain character sequences that need special handling, e.g. escaped content like "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. Cheers,
angus said: Dear All, Are there any library, in .net to write/read csv file? Click to expand... Assuming your CSV does not contain character sequences that need special handling, e.g. escaped content like "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. Cheers,
U Uri Dor Aug 9, 2004 #4 look in MSDN magazine - they had an article on this, implementing an XMLReader that takes CSV as input and outputs XML elements
look in MSDN magazine - they had an article on this, implementing an XMLReader that takes CSV as input and outputs XML elements
I Ignacio Machin \( .NET/ C# MVP \) Aug 9, 2004 #5 Hi Angus, the best solution for csv is using opennetcf's implementation: go to www.opennetcf.org and download it, it provide a dataprovider for it. Cheers,
Hi Angus, the best solution for csv is using opennetcf's implementation: go to www.opennetcf.org and download it, it provide a dataprovider for it. Cheers,
A angus Aug 10, 2004 #6 "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right?
"Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right?
A angus Aug 10, 2004 #7 http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20936016.html angus said: "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right? Click to expand...
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20936016.html angus said: "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right? Click to expand...
J Joerg Jooss Aug 10, 2004 #8 angus said: "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right? Click to expand... Actually, "Hello World!" Foo Bar Just to clarify, I chose the example to demonstrate when String.Split() won't work. Cheers,
angus said: "Hello, World",Foo,Bar you can easily implement the required functionality by reading the CSV file line by line and calling String.Split() per line. In your example, if i call String.Split(",") then, Hello World Foo Bar will be return, instead of Hello, World Foo Bar am i right? Click to expand... Actually, "Hello World!" Foo Bar Just to clarify, I chose the example to demonstrate when String.Split() won't work. Cheers,