Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
AnswerRe: Currency Symbol Pin
ediazc6-Oct-05 7:37
ediazc6-Oct-05 7:37 
GeneralRe: Currency Symbol Pin
Dominic Farr6-Oct-05 8:44
Dominic Farr6-Oct-05 8:44 
QuestionHow to do unblock socket server by C#? Pin
rushing6-Oct-05 6:23
rushing6-Oct-05 6:23 
Questionsimple user control / panel question Pin
theStorminMormon6-Oct-05 6:03
theStorminMormon6-Oct-05 6:03 
AnswerRe: simple user control / panel question Pin
Wjousts6-Oct-05 6:45
Wjousts6-Oct-05 6:45 
AnswerRe: simple user control / panel question Pin
dbetting8-Oct-05 4:07
dbetting8-Oct-05 4:07 
QuestionExporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 6:01
hasanali006-Oct-05 6:01 
AnswerRe: Exporting data from CVS and entering into MSSQL table Pin
Guffa6-Oct-05 7:43
Guffa6-Oct-05 7:43 
Do you mean CVS (Concurrent Versions System), or CSV (comma separated value)? I assume the later.

There is no official standard at all regarding the format of a csv file.

Here's briefly what I have found out:

Usually it's not comma separated at all, but semicolon separated. Each data line ends with a line break, but you can't read the data line by line, as the data may also contain line breaks. The first line may or may not be column headers, and there is nothing in the file that clearly tells if it does. If data contains semicolons, quotes or line breaks, it's surrounded by quotes. Quotes inside data is written as double quotes.

You will probably want to ask for an example file to examine.

If you have MS Excel, put text in some cells, containing quotes, semicolons and line breaks. Export it as a csv file, and you have a test file with all the tricky parts of the format. You might also notice that the format that Excel exports doesn't always contain the same number of columns on all the lines.

---
b { font-weight: normal; }

GeneralRe: Exporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 23:23
hasanali006-Oct-05 23:23 
QuestionReflection onto Assemblies with dependencies Pin
MrEyes6-Oct-05 5:56
MrEyes6-Oct-05 5:56 
AnswerRe: Reflection onto Assemblies with dependencies Pin
Tom Larsen6-Oct-05 8:47
Tom Larsen6-Oct-05 8:47 
Questiondataset Pin
amin saffari6-Oct-05 5:12
amin saffari6-Oct-05 5:12 
QuestionP/Invoke Pin
Member 18186146-Oct-05 3:54
Member 18186146-Oct-05 3:54 
AnswerRe: P/Invoke Pin
mav.northwind6-Oct-05 20:28
mav.northwind6-Oct-05 20:28 
GeneralRe: P/Invoke Pin
Member 18186146-Oct-05 21:50
Member 18186146-Oct-05 21:50 
QuestionHow do I invoke or call the insert table dialog Pin
Agyeman6-Oct-05 3:48
Agyeman6-Oct-05 3:48 
QuestionParser replacement target to Dot Net platform Pin
Member 23353326-Oct-05 3:44
Member 23353326-Oct-05 3:44 
AnswerRe: Parser replacement target to Dot Net platform Pin
David Stone6-Oct-05 12:12
sitebuilderDavid Stone6-Oct-05 12:12 
QuestionSendMessage return value Pin
status()6-Oct-05 3:24
status()6-Oct-05 3:24 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 3:50
status()6-Oct-05 3:50 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 4:19
status()6-Oct-05 4:19 
GeneralRe: SendMessage return value Pin
mav.northwind6-Oct-05 20:42
mav.northwind6-Oct-05 20:42 
QuestionListening to keypresses?? Pin
.M6-Oct-05 0:29
.M6-Oct-05 0:29 
QuestionHow can we add values in ArratList in different way?? Pin
parvinder sehrawat6-Oct-05 0:04
parvinder sehrawat6-Oct-05 0:04 
AnswerRe: How can we add values in ArratList in different way?? Pin
Stefan Troschuetz6-Oct-05 0:14
Stefan Troschuetz6-Oct-05 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.