CSV Files & DataObject class

  • Thread starter Thread starter Max Sandman
  • Start date Start date
M

Max Sandman

I need to import and export CSV files. Before I head off the create my
own CSV parser (got the link to Falafel's articles), is there a way to
use the DataObject class in this process? I don't want to waste time
figuring out what it does if it's really not going to help. It sounds
like (from the docs and from my search out here) that it's really meant
for drag & drop, clipboard, in-memory type transfers rather than from
CSV file to database. On the other hand, it does support the CSV
format. If somebody can just point me in the right direction, I'd
appreciate it.

sandman
 
Max,

The DataObject class is not going to assist in this case, because it is
used for clipboard data, and does not provide transformation services of any
sort.

If you want to use comma-delimited values, then you will have to use a
third-party product, or you will have to roll your own. However, I believe
that someone MUST have done this already, so you shouldn't have problems
finding one.

Hope this helps.
 
Back
Top