Optimistic way of storing info on a PPC??

  • Thread starter Thread starter Hari
  • Start date Start date
H

Hari

Hi,

I need to store an ArrayList generated by my application on the PPC
for furthur access. Right now i store it in an XML file. But i have an
optimization prob. Reading from the XML file takes more than 3 sec. The
startup form of my app actually needs to access this file and display a
listview corresponding the elements in the ArrayList stoted on the PPC.
Can any one suggest whats the better and fastest way of storing and
retreiving info on a PPC ( Sorry, Database is an exception, coz my app
needs to be run on variety of platforms like smartphone which do not
have the d/b)


Thankx,

Hari
 
Hari,

CSV files are a bit faster than XML, especially on CF 1. You can find a
TextDataAdapter on www.OpenNETCF.org that you can use. And if you're usig CF
2 (which I'm guessing you are not since you can't use SQL Mobile), you might
be get better performance using a List<T> rather than ArrayList.
 
Back
Top