Prev: Strange Tooltip Problem
Next: MSIL code
From: Martin Honnen on 10 Apr 2010 14:00 Anthony wrote: > What's the best place to save the schema? > If possible i'd like to integrate it with my project. > (i need to parse a xml file from another application. So normally there's no > schema available) If you want to integrate the schema with your application then you could embed it as a resource in your assembly. You would then need to load it with http://msdn.microsoft.com/en-us/library/system.reflection.assembly.getmanifestresourcestream.aspx and pass that stream to the ReadXmlSchema method. -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
From: Anthony on 11 Apr 2010 07:24
> What kind of LINQ do you want to do? There is LINQ to DataSet that allows > you querying your DataSet. There is LINQ to XML that allows querying an > XML document but for that you need to load the XML document into a > System.Xml.Linq.XDocument (or XElement) and there is no connection between > a DataSet and an XDocument. More specifically: Is there a way to populate a DataSet via a LINQ query? |