title: Displaying data of data table
body: <p>I want to display values or write them to a text file that it is written as such from a data set</p>
  
  <pre><code>ColumnID  columnName ColumnFamilyName
  ValueOne  ValueTwo  ValueThree  
  ValueThree  ValueFour  ValueFive
  ValueSix  ValueSeven  ValueEight
  </code></pre>
  
  <p>I have done this which does not do the trick</p>
  
  <pre><code>foreach (DataRow row in myTopTenData.Rows)
              {
                  Console.WriteLine();
                  foreach (DataColumn col in myTopTenData.Columns)
                  {
                      Console.Write(row[0].ToString() + " ");
  
                  }
              }
  </code></pre>
  
  <p>How can I do this?</p>