I have a save button on a toolstrip on the MDI parent form. I want to save values in textboxes on the child form when I click on this "save" button. In the button click event for the save button I cant get the value from the text boxes. I want to pass these text box values to another class property so I can save them to a database
Private Sub tsbtnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tsbtnSubmit.Click
Dim objActivities As New Activities
objActivities.ValueOne = childform.txtboxone.text
objActivities.ValueTwo = childform.txtboxtwo.text
The value that show for the childform txtbox is nothing.
Can some help me with getting these value to the activities class properties using the a "save" button on the mdi form
thank you very much
Joe
Private Sub tsbtnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tsbtnSubmit.Click
Dim objActivities As New Activities
objActivities.ValueOne = childform.txtboxone.text
objActivities.ValueTwo = childform.txtboxtwo.text
The value that show for the childform txtbox is nothing.
Can some help me with getting these value to the activities class properties using the a "save" button on the mdi form
thank you very much
Joe