473,408 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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

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
2 1497
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jeffrey Barish | last post by:
I have been developing a Python program with two intercommunicating (using sockets) parts, one of which runs on a desktop and the other on a PDA. For ease of development, I developed them both on...
4
by: francis70 | last post by:
Hi, I have these 2 problem? Is there a way in Oracle to read UNCOMMITED data. i.e. in Oracle the normal behaviour is that a user's updates to a table are visible to other users ONLY when the...
30
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
0
by: Nilesh | last post by:
I am developing smart client application which uses web service to retrieve data from HO. The Web Service will get the data from HO database, mark it with status "With PDA" and send the data to the...
1
by: nileshm | last post by:
I am working on PDA application which calls web service that fetches 40 customer details in one call. The call from PDA over GPRS takes between 4-6 minutes to fetch the data. 4 out of 5 calls fail....
14
by: Jo | last post by:
Hi, Is there a generic way to access the (virtual) functions in the base class of a class? Like in: if (!this->Foo(something)) return(((Base*)this)->Foo(something)); // for a normal member...
12
by: joaotsetsemoita | last post by:
Hello everyone, im completly new to vb.net and I was assigned to do a simple piece of software that just had to select from um db in a MS access data base and insert into a SQL server Database....
0
by: \Ji Zhou [MSFT]\ | last post by:
Hello Ashutosh, I see your points. As to your two new concerns, I am give the detailed comments in the following. 1. Is it possible to achieve this result without calling Update on the route...
3
by: nilaangel78 | last post by:
Hi All, I have SQL 2005 table with columns TypeId(int) & Description(ntext datatype). The Description column has XML file content as value in the table. Now i want to read the data into a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.