title: Export a C# DataSet to a text file
body: <p>There are a lot of examples online of how to fill a DataSet from a text file but I want to do the reverse. The only thing I've been able to find is <a href="http://csharptutorial.com/exclusive-how-to-export-a-datatable-to-a-fixed-file-format-the-easy-way-using-odbc-or-jet-engine/" rel="noreferrer">this</a> but it seems... incomplete?</p>
  
  <p>I want it to be in a readable format, not just comma delimited, so non-equal spacing between columns on each row if that makes sense. Here is an example of what I mean:</p>
  
  <pre><code>Column1          Column2          Column3
  Some info        Some more info   Even more info
  Some stuff here  Some more stuff  Even more stuff
  Bits             and              bobs
  </code></pre>
  
  <p>Note: I only have one DataTable within my DataSet so no need to worry about multiple DataTables.</p>
  
  <p>EDIT: When I said "readable" I meant human-readable.</p>
  
  <p>Thanks in advance.</p>