Getting datarow values into a string?
<p>I have a dataset called "results" with several rows of data.  I'd like to get this data into a string, but I can't quite figure out how to do it.  I'm using the below code:</p>

<pre><code>string output = "";
foreach (DataRow rows in results.Tables[0].Rows)     
{
    output = output + rows.ToString() + "\n";
}
</code></pre>

<p>However, I think I'm missing something because this isn't working.  Can someone point me in the right direction?</p>

<p>Thanks!</p>
