G
Guest
Hi Folks
I am starting to learn VB.NET. A problem that i have encountered is that i cannot seem to use the values in my textbox accross forms
for example i have 2 forms. On form2 i have a search facility that allows the user to search for the guests in a hotel. When the user has selected a guest from the datagrid the chosen guest details are placed in numerous textboxes using the databinding)
What i want to do now is when the guest clicks the Exit button, i want the text that is in the textboxes in form2 to appear in the textboxes in form1
Is there anyway i can do this?
In VB6 i could just use the form name to do this. i.
Form1.textbox1.text = Form2.textbox2.text
I am starting to learn VB.NET. A problem that i have encountered is that i cannot seem to use the values in my textbox accross forms
for example i have 2 forms. On form2 i have a search facility that allows the user to search for the guests in a hotel. When the user has selected a guest from the datagrid the chosen guest details are placed in numerous textboxes using the databinding)
What i want to do now is when the guest clicks the Exit button, i want the text that is in the textboxes in form2 to appear in the textboxes in form1
Is there anyway i can do this?
In VB6 i could just use the form name to do this. i.
Form1.textbox1.text = Form2.textbox2.text