Everything Motorola Q  
Home Motorola Q Store Moto Q Software News Motorola Q Reviews Moto Q Forums FAQs Wiki Contact Us Everything Q RSS feed


Go Back   Motorola Q Forum | Everything Q > Q Software Developers > Software Developers

Reply
 
Thread Tools Display Modes
Old 10-24-2007, 11:12 PM   #1 (permalink)
 
miro's Avatar
 
Join Date: Mar 2007
Location: NC, US
Posts: 154
Thanks: 18
Thanked 11 Times in 10 Posts
miro is on a distinguished road
Send a message via Skype™ to miro
Default DataSet.ReadXML performance?

Hi all,

I'm using the .Net CF 2 and I am finding that loading a small xml file from the application folder into a dataset using the below method performs very poorly. Anyone experienced this and/or have any suggestions or alternatives I should be using? I tried this first from habit in the ASP .Net world, but it seems like it might be a bad idea...

Thanks in advance!

ex. (c#):

string sPath = System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly(). GetName().CodeBase);
string sFile = sPath + @"\Data.xml";
DataSet ds = new DataSet();
ds.ReadXML(sFile);
miro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:34 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC8
Integrated by BBpixel Team 2008 :: jvbPlugin R1013.368.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31