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); |