hi, I have dgv1 that contains amount column, and dgv2 that also have amount aolumn.
I have following code to sum total vlaues of dgv1.
but i want display both column vlaues from both dgv in to single textbox.
how can i do this?
Dim total As Integer For Each row As DataGridViewRow In ReportDataGridView.Rows() total += row.Cells(6).Value Next txtTotalAmount.Text = total