title: How do I manipulate data from a specific column in a databound datatable in .net
body: <p>I have this huge query that returns a datatable like this:</p>
  
  <pre><code> m     |     m  |   m| mo...|12 |total  |increased
  10     |     2  |   3| 5    |20 |40     |   100%
  30     |     6  |   9| 15   |60 |120    |   300%
  </code></pre>
  
  <p>except the column <code>increased</code> does not exist.
  The point is, I have to make it exist. All I have are the data in the months and its sum (total). I need to make a column that gets whatever sum is in a row, compare to the previous sum, and say how much it has increased (% based)</p>
  
  <p>using postgresql, .net and c# Any help?</p>
  
  <p>edit: It's just a Datatable Function_that_queries_the_SQL_string(); Then in the page displaying the table i have an <code>&lt;asp:GridView&gt; with a bunch of &lt;asp:BoundField&gt; to the columns in the table</code>. But I have no idea if to make the increased column I have to change the query, or just get the data somehow from the Datatable and use c# to do the math</p>