From: Martin Honnen on
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
> 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?



First  |  Prev  | 
Pages: 1 2 3
Prev: Strange Tooltip Problem
Next: MSIL code