I want to show the total qty of these query
(total qty from datagridview where ActualQty value will update the values of Used Column)SELECT COUNT(Software) AS ActualQty FROM tblswlogs WHERE Software='MS EXCEL'
and
(Total will appear in textbox)SELECT MAX(used + initialqty) As Total FROM tblswlist WHERE Software = 'MS EXCEL'