Dataset1 = Ws.GetData1();
This take about 45 second. Too speed this up I tried to save the dataset to
XML file and read the file instead of using the webservices. I use this code:
Write dataset:
dataset1.WriteXml("data.xml")
Read dataset:
dataset1.ReadXml("data.xml");
To write the dataset to xml file goes fast, but to read the xml file takes
about 50 second.
Do anybody have an solution that give an better performance.
Regards
Karl-Inge Reknes
--
Alex Feinman
---
Visit http://www.opennetcf.org
"Karl-Inge Reknes" <KarlIng...@discussions.microsoft.com> wrote in
message news:98198962-56B2-49F2...@microsoft.com...
I have tried this code:
DataSet1.WriteXmlSchema("\\Program Files\\norbitPPC\\grunndata.xsd");
DataSet1.WriteXml("\\Program Files\\norbitPPC\\grunndata.xml");
DataSet dsTemp = new DataSet();
dsTemp.ReadXmlSchema("\\Program Files\\norbitPPC\\grunndata.xsd");
dsTemp.ReadXml("\\Program Files\\norbitPPC\\grunndata.xml");
DateSet1 = dsTemp;
To read the XML takes now about 17 sec. Is this the most efficient way?
Karl-Inge Reknes
--
Alex Feinman
---
Visit http://www.opennetcf.org
"Karl-Inge Reknes" <KarlIng...@discussions.microsoft.com> wrote in
message news:5C668C48-23A0-4A7E...@microsoft.com...
The very fact you see the performance improvements with schema suggests your
file is way bigger than 330 bytes.
Our tests indicate ~1 MB of data (1200 records of 33 fields of various types
in 3 nested tables) would be loaded in about 22 second with schema and in
about 75 seconds without it on PXA 255-400 MHz device running PPC 03 and CF
V1 SP3.
If you're measuring first pass, it would be few seconds longer as
Data/Schema code would be JITed.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"Karl-Inge Reknes" <KarlIng...@discussions.microsoft.com> wrote in
message news:84786D0F-8F03-4759...@microsoft.com...
Looking forward to your reply...
Sachin
How much faster? That depends on XML.
If you have many nested tables and columns are mapped as elements - may be a
lot faster.
If you're using related tables and all columns are mapped as attributes -
may be somewhat faster.
Since NETCF does not offer CSV support, we do not have performance data on
it.
You could try using OpenNETCF CSV adapter and see if performance is OK.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"Sachin Palewar" <pal...@gmail.com> wrote in message
news:1119340627.2...@g44g2000cwa.googlegroups.com...
Ginny Caughey
.NET Compact Framework MVP
<in...@it-design.biz> wrote in message
news:1119346244.7...@o13g2000cwo.googlegroups.com...
You can reach to thread at:
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/b8ace193fd4bae1c/20665fd465c36cda#20665fd465c36cda
Writing an ActiveSync plugin still requries C++.
Ginny
"Sachin Palewar" <pal...@gmail.com> wrote in message
news:1119512512....@z14g2000cwz.googlegroups.com...
1. Activesync Provider
2. Activesync File Filter
-Chris
"Sachin Palewar" <pal...@gmail.com> wrote in message
news:1119862430.6...@g44g2000cwa.googlegroups.com...