How do I get the last cell in a row of a DataTable?
<pre><code>    foreach(DataRow row in dt.Rows)
    {
       foreach(var cell in row.ItemArray)
       {
          builder.Append(cell.ToString());
          if(cell != row.lastcell)
             builder.Append("\t");
       }
       builder.Append(Environment.NewLine);
    }
</code></pre>

<p>i need to make sure that cell!=the last cell in the row</p>

<p>how do i do this?</p>
