Hello
I am using a datarepeater control with VS 2008 SP1 to display photos and information of dogs on a Win Form. I have the dogs picture, and 3 bound text boxes with information associated with the animal. I have a click event handler on the picture that should when click retrieve some information from the text boxes and update a dataset. When I step thru the code though, all of the text boxes are showing empty strings even though there is data in them.
Do I need to reference the controls different?
Private Sub DogPicture_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DogPicture.Click
Try
'Debug.Print(Me.StatusTextBox.Text)
If Me.StatusTextBox.Text = "OUT" Then
Me.DogsBindingSource.EndEdit()
Me.DogsTableAdapter.UpdateStatus("IN", Me.txtDogID.Text)
Me.DogsTableAdapter.DDogs(Me.DS.Dogs)
Else
Me.DogsBindingSource.EndEdit()
Me.DogsTableAdapter.UpdateStatus("OUT", Me.txtDogID.Text)
Me.DogsTableAdapter.DDogs(Me.DS.Dogs)
End If
Catch ex As Exception
End Try
End Sub
Thanks! Ryan