C# code to find sum of column values in Excel
<p>Here I ve a DataTable Like Below,</p>

<pre><code>EmpID   EETaxes    ERTaxes   NetPay

100      130.09    120.05    550.00

200      445.68    344.80    980.00

300      100.00    200.00    600.00
</code></pre>

<p>And i am Exporting the about DataTable to Excel,</p>

<p>Here my problem is after exporting data to excel i need to dispay sum(EETaxes) and sum(ERTaxes) and sum(NetPay).</p>

<p>can any one tell me C# code to find sum of column values in Excel dynamically.</p>

<p>Thanks</p>

<p>Anuradha.J</p>
