window application
in datagridview there is combobox which get data from database which show items...
when we select an item in combobox then its price will display corresponding price in textbox which is also in datagridview and when we multiply the qty and price of selected item it will display price ....
all the controls for item,price,qty,amount are in datagridview...
and i also want to display the total amount of all items in the textbox which is outside the datagridview...
thanks
Problem with datagridview
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

CrishRank #1,487 · 1.1K reputationPosted May 31, 2010, 9:26 PM EDT
use datagridview's Rowdatabound event for calculating amount. then store it in textbox which u have taken outside of the grid.
you can find each label control values in Rowdatabound event . Sum of there and finally store value in textbox.
Don't forget to Mark Do you like this Answer
that solved your problem!