title: Datatable - Sum Each Cell In a Row
body: <p>There are lots of examples of how to get the sum of each cell in a column.  I have not been able to find an example of how to sum each cell in a row and add that total into the new column called "Total" for example.</p>
  
  <p>C# DataTable has the <code>DataTable1.Compute("SUM(["Column Name"])", "")</code> </p>
  
  <p>Example of What I would like to do below. However I would also like to be able to exclude specific columns as they may not contain numbers.</p>
  
  <p><img src="https://i.stack.imgur.com/Z2vko.png" alt="enter image description here"></p>
  
  <p><strong>Edit</strong> The table is dynamic and the number of columns may change.</p>