File Design Question

  • Thread starter Thread starter Darren Coleman
  • Start date Start date
D

Darren Coleman

Being new to the compact Framework I'm trying to decide on how to
store data to the Pocket PC device that I'm using.

My application will be collecting "Ticket" data, for each new "ticket"
I was thinking of have a new file created in a data folder. Once the
data was collected I would place the PocketPC in a cradle where a
windows application would connect through activesync and download the
files.

What I'm trying to figure out is what would be the best file format to
put that collected files into. I was thinking that an xml file would
be fine but I'm concerned about file size and write speed on the hand
held.

Does anyone have any suggestions?
 
Darren,

How many tickets do you expect to collect before deleting them? XMLcould
work just fine, but it does take up a lot of space for the tags.
 
Well size is a concern as but keeping it in a xml format has advantages. Is
there a good middle ground? Is compressing(zipping) a good option?
Thanks for your time.
 
Darren,

Consider CSV as a good middle ground. There is a CSV DataAdapter on
www.opennetcf.org that makes working with CSV files almost as easy as XML,
and depending on the types of fields you have and the field names, the files
can be significantly smaller than XML.

--
Ginny Caughey
..Net Compact Framework MVP


Darren Coleman said:
Well size is a concern as but keeping it in a xml format has advantages.
Is there a good middle ground? Is compressing(zipping) a good option?
Thanks for your time.
 
Back
Top