Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / June 2004

Tip: Looking for answers? Try searching our database.

xml data storage?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SSP - 30 Jun 2004 04:21 GMT
Hi .Netters,

I am thinking about using XML files to store and recall data (as opposed to
SQL CE) for my next .net cf project.

Anyone with any thoughts on that? Perhaps pointers to some resources
available online.

SSP
Enrico Bizzarri - 30 Jun 2004 08:30 GMT
Hi,
   have a look to the "Compact .NET & database?" topic started by Jan
Hancic

http://groups.google.it/groups?hl=it&lr=&ie=UTF-8&threadm=uJmKQh8VEHA.2840%40TK2
MSFTNGP11.phx.gbl&rnum=1&prev=/groups%3Fq%3DCompact%2B.NET%2B%2526%2Bdatabase%25
3F%2522%2B%26ie%3DUTF-8%26hl%3Dit%26btnG%3DCerca%2Bcon%2BGoogle


HTH

Bye
Enrico

> Hi .Netters,
>
[quoted text clipped - 5 lines]
>
> SSP
Ignacio Machin \( .NET/ C#  MVP \) - 30 Jun 2004 14:21 GMT
Hi,

I started using this approach back when the CF was in Beta, it works fine
from a code point of view, you can serialize a dataset with a couple of
lines of code. the only drawback was the speed, at least back them was
PAINFUL , the application just to take from 2 to 3 minute reading the
dataset, it was not acceptable.
Then I changed to CVS files, it was a big improvement but I still had to
deal with values that had comma inside, so I had to parse and interprete the
line, I used opennetCF code for this.

Finally the solution I'm using now are files files with control chars as
separators, I'm using char 16 for this, now it work much faster and I have
no need to parse the string.

I also started using XML files again as I was forced to it, in the used
platform ( iPaq 2210 ) it runs fine now, true is that this XML file is much
smaller ( 20 Kb ) than the "data" file ( 600-800 Kb ) so maybe a combination
of improved code ( CF SP 2 ) with much more powerful hardware makes it now
feasible to use XML files as data storage.

In anyway I think that you should test it and see how it works in  your
environment.

Cheers,

Signature

Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

> Hi .Netters,
>
[quoted text clipped - 5 lines]
>
> SSP

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.