Re: XML import/export for ADO
- From: Arthur Hoornweg <antispam.hoornweg@xxxxxxxxxxxxx>
- Date: Thu, 06 Mar 2008 10:28:50 +0100
Eugene V. Goldberg wrote:
Whats the problem?
Savetofile automatically creates the file and closes it, you don't need to
do it by hand.
One word of warning, though: I've found out that there's a potential big
problem if you save the XML file on one machine and try to load it on
another machine. For some silly reason, the XML files store floats in
localized format. This means that the decimal separator can be either
a dot or a comma. If one machine uses "." as a decimal separator, and
the second machine uses "," (as is common in Europe), the dataset will
throw exceptions when it does loadfromfile.
You can avoid this by not using XML format but using the native format
(pfadtg) instead. This format is also much smaller.
--
Arthur Hoornweg
(In order to reply per e-mail, please just remove the ".net"
from my e-mail address. Leave the rest of the address intact
including the "antispam" part. I had to take this measure to
counteract unsollicited mail.)
.
- Prev by Date: Need connection/thread pooling examples (isapi, Soap, Intraweb)
- Next by Date: Re: Ado mdb network
- Previous by thread: Need connection/thread pooling examples (isapi, Soap, Intraweb)
- Next by thread: Re: Ado mdb network
- Index(es):
Relevant Pages
|