I have a datagridview, and I'm looping threw the selected rows like so:
Expand|Select|Wrap|Line Numbers
- For Each row As System.Windows.Forms.DataGridViewRow In OrderDataGridView.SelectedRows
My question is how to I access the related ShippingAddress data? Basically I want to do something like this:
Expand|Select|Wrap|Line Numbers
- For Each row As System.Windows.Forms.DataGridViewRow In OrderDataGridView.SelectedRows
- OrderdID = row.cells(1)
- ShippingAddress1 = row.relatedtable.item("ShippingAddress1")
- Next
Chad