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

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -