Export data in CSV format

  • Thread starter Thread starter Hetal Shah
  • Start date Start date
H

Hetal Shah

I am trying to export data to CSV file as comma separated file. Some of the
data contains comma in it. Because of that, it splits the data into to cells
while I expect to have in one cell only.

How can I have the data in one cell having comma in it?

Thanks
Hetal
 
Hi,

Take a look at opennetcf.org data provider, it has the source code and
handle that case.

cheers,
 
Your only option is to replace commaswith another character, perhaps a
semi-colon. Look at the Replace method of the String class.
 
Back
Top