When the button is clicked it shows a DataGridView which outputs an ID and Name in a separate window (form). These are loaded with select statement from ms-access.
I would like that when I double click on any of the DataGridView rows, the ID is transferred to the textbox which is found in the other window (form).
I tried something like this but no success:
- Form2.TextBox1.Text = DataGridView1.CurrentRow.Cells(1).Value.ToString
May please someone tell me what should I have on both form as code please?
(new to vb.net so please bear with me and unfortunately I cannot find help)