Dim sumatorio As Double For Each item As DataGridViewRow In DGVMercancia.Rows sumatorio = (Convert.ToDouble(item.Selected) + Convert.ToDouble(item.Selected)) Next TextBox1.Text = Convert.ToString(Convert.ToDouble(TextBox1.Text))