Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

how to calculate total Tax amount in datagridview column And Row in C#.net

$
0
0

Hey Everyone ,

i using c#.net and the database i use is Microsoft Sql Server and framwork 3.5

i have some problem here can someone teach me how to use button to calculate the total Tax amount of the Row Or Column in the Datagridview i have no ideal at all can someone show me how

         datagridview1                                                                 

ID          ProductName      Tax_Precentage  TaxAmt         

1                 ABC                     18%                   45                 

2                 ABC                     18%                   45                

3                 BBB                     12%                    30

4                 BBB                     12%                     35 

RESULT >>> 

                     datagriview2

 ID      Tax_Precentage    TaxAmt 1             18%                       90

 2              12%                       65


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>