tdignan87
Well-known member
- Joined
- Jul 8, 2019
- Messages
- 95
- Programming Experience
- Beginner
Hi I have two forms, the main form loads and there is a button on it. The user presses a button and it loads up a second form containing a datagridview. The user selects the row in the datagridview and I would like it to close automatically and populate a textbox in the main form with data they have selected from the dgv.
I'm familiar with passing data if the form that the data is passing too is closed first as of course the instance has not already been started. I've found youtube tutorials but they are mostly just passing datagridview data to a new form.
Any ideas, please? Thanks
Ive tried to do a constructor method but I don't know where I am going wrong.. argh.. something that seems so simple is frustrating..
Thanks
Tom
I'm familiar with passing data if the form that the data is passing too is closed first as of course the instance has not already been started. I've found youtube tutorials but they are mostly just passing datagridview data to a new form.
Any ideas, please? Thanks
Ive tried to do a constructor method but I don't know where I am going wrong.. argh.. something that seems so simple is frustrating..
Thanks
Tom