Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My datagrid view is like this

Barcode    Item Name    Count    TAX%   TotalPrice  Profit

1123        Milka        2        18      100         20

21231       Snikers      1        5       50          10

1231        Bountyy      3        18      150         40

13122       Lion         2         5      100         30

Now i want to calculate the tax because there are two type of taxes 5% and 18%
The tax is calculated from the profit.
Example
In Textbox1.text =(i want to show total Tax for articles with 5%)
in Textbox2.text =(i want to show total tax for articles with 18%)

[edit]SHOUTING removed, code block added - OriginalGriff[/edit]
Posted
Updated 9-Nov-13 20:42pm
v2
Comments
Sergey Alexandrovich Kryukov 9-Nov-13 21:21pm    
Not a question. http://whathaveyoutried.com so far? Any problems?
—SA
OriginalGriff 10-Nov-13 2:01am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900