VB.NET Datagrid Calculations (Visual Studio 2010) -


in datagrid table: calculate difference between 2 columns result in third column (performed automatically during runtime). null value 0 in budget , cost columns. budget - cost = difference. using visual studio 2010. if knows how in designer, please let me know.otherwise...

budget = column7 cost = column8 difference = column 9 

the budget column less cost column = difference column rows. please provide me code? have trashed mine...not worth posting.

assuming using windowsforms: create dataset using designer create datatable 3 columns: budget, cost , calculated column, difference. instantiate datatable , fill it. bind datatable datagridview


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -