For Each model In Model_dgv.SelectedCells
'if it's different add it (so '' becomes SERIES1; SERIES1 remains SERIES1, SERIES2 becomes SERIES2; SERIES1)
If lvl1_tb.Text <> Model_dgv.Item("Model Lvl1", Model_dgv.CurrentRow.Index).Value.ToString.Trim Then
lvl1_tb.Text &= Model_dgv.Item("Model Lvl1", Model_dgv.CurrentRow.Index).Value.ToString.Trim
End If
...
simply, I don't know enough about DGV to know how to write the line to call the cell based on the loop rather than the current selection. Any thoughts/comments? Places to start and research.

New Topic/Question
Reply



MultiQuote


|