By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,435 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,435 IT Pros & Developers. It's quick & easy.

Data base in PDA: how to improve the time of update?

P: n/a
Hello

I'm making a PDA project that uses a data base. That data base is saved in a
xml file. When the application starts up, I load the xml file in memory. The
application makes changes in the data base (which is in the memory of the
PDA) and finally, when the program closes, it saves all data (which are in
the data base) in the xml file.

My question is: is there any way to save only the modifications instead of
to save again all data base in the xml file? Note:In the beginning, the
application doesn`t know which registers of the data base are going to
modify.

Thanks.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
XML is pretty slow by nature b/c of all of the parsing so you may want to
use the csv which is faster http://www.opennetcf.org/library/ , much faster
or use SQL CE. http://www.devbuzz.com/content/init_...arting_out.asp

http://forums.devbuzz.com/SQL_Server...rumid_4/tt.htm
--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
http://www.devbuzz.com/content/zinc_...center_pg1.asp
"Vicente Nicolau" <vn******@cadicsa.com> wrote in message
news:O8****************@TK2MSFTNGP12.phx.gbl...
Hello

I'm making a PDA project that uses a data base. That data base is saved in a xml file. When the application starts up, I load the xml file in memory. The application makes changes in the data base (which is in the memory of the
PDA) and finally, when the program closes, it saves all data (which are in
the data base) in the xml file.

My question is: is there any way to save only the modifications instead of
to save again all data base in the xml file? Note:In the beginning, the
application doesn`t know which registers of the data base are going to
modify.

Thanks.

Nov 16 '05 #2

P: n/a
thanks
"William Ryan eMVP" <do********@comcast.nospam.net> escribió en el mensaje
news:Ov**************@TK2MSFTNGP11.phx.gbl...
XML is pretty slow by nature b/c of all of the parsing so you may want to
use the csv which is faster http://www.opennetcf.org/library/ , much faster or use SQL CE. http://www.devbuzz.com/content/init_...arting_out.asp

http://forums.devbuzz.com/SQL_Server...rumid_4/tt.htm
--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
http://www.devbuzz.com/content/zinc_...center_pg1.asp
"Vicente Nicolau" <vn******@cadicsa.com> wrote in message
news:O8****************@TK2MSFTNGP12.phx.gbl...
Hello

I'm making a PDA project that uses a data base. That data base is saved in
a
xml file. When the application starts up, I load the xml file in memory.

The
application makes changes in the data base (which is in the memory of

the PDA) and finally, when the program closes, it saves all data (which are in the data base) in the xml file.

My question is: is there any way to save only the modifications instead of to save again all data base in the xml file? Note:In the beginning, the
application doesn`t know which registers of the data base are going to
modify.

Thanks.


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.