using datagridview,

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
in my win form I am using datagridview to calculate volume of boxes.

my datagrid vie has 4 coloums with the following names ( L , B, H & box)
formula for volume goes L*B*H*box / 6000 ("for each row")
all I want is that when gridview1 lost focus
textbox1.text = total volume of all the rows entered.
Please help me for the same.
----------------------------------------
there is one more thing if possible
--------------------------
I want to store data of every three gridview1 rows in textbox (for eg. fist three raw in textbox2 next 3 gridview raws in textbox3 etc)
let say gridview has 5 raws
textbox2.text = "LxBxH / box, LxBxH / box, LxBxH / box,"
textbox3.text = "LxBxH / box, LxBxH / box,"

thanks for your time & help in advance. Thanks,



<hr class="sig Pradeep Yadav (Social MSDN)

View the full article
 
Back
Top