Ok, I'm opening up a second form using the following code:
and I need to pass it two pieces of data which are in text boxes titled txtEnter1 and txtEnter2. Two text boxes on the new form should automatically be filled out with the information from these two text boxes on the original form.
How do I go about this?
VB.NET:
Dim frmAdd As New frmAdd
frmAdd.MdiParent = Me
frmAdd.Show()
and I need to pass it two pieces of data which are in text boxes titled txtEnter1 and txtEnter2. Two text boxes on the new form should automatically be filled out with the information from these two text boxes on the original form.
How do I go about this?