Hi
I am very new to vb writing my first VB app.
I have a form showing certain fields from a SQL table using datagridview. This section is working fine.
What I want to do now is based on the record selected in the datagridview, when a button is clicked, all the info is displayed on another form for that particular record.
I have created the second form but the data that gets pulled through is always the first record in the database table and not the record selected in the datagridview.
How do I develop it that when the button is pressed it pulls through the data for the highlighted record in the datagridview to another form.
Thanks
Lional
I am very new to vb writing my first VB app.
I have a form showing certain fields from a SQL table using datagridview. This section is working fine.
What I want to do now is based on the record selected in the datagridview, when a button is clicked, all the info is displayed on another form for that particular record.
I have created the second form but the data that gets pulled through is always the first record in the database table and not the record selected in the datagridview.
How do I develop it that when the button is pressed it pulls through the data for the highlighted record in the datagridview to another form.
Thanks
Lional