title: Load xml schema and data into DataSet (and datagridview)
body: <p>I have a datagridview populated with data from an .xml file. The data is a list of MyObjects, where MyObject is a C# class I have. This initially was done without a schema, so no type information :( Means I don't get the benefit of auto-generated checkbox columns for bools, etc. in the MyObject class.</p>
  
  <p>So I used xsd.exe to generate an .xsd file. Looks great! But how do I deploy this .xsd with the app? Do I have to make sure it sits in the same directory as my app and load it like:</p>
  
  <pre><code>DataSet ds = new DataSet();
  ds.ReadXml("mystuff.xml");
  ds.ReadXmlSchema("myschema.xsd");
  dataGridView_1.DataSource = ds;
  dataGridView_1.DataMember = "MyObject";
  </code></pre>
  
  <p>I'm sure there's a better way to handle this... can I include it as part of the assembly or something?   Thanks for any help.</p>