i am trying to save values in a textbox for each item in a list of items. The textbox will prompt for values and a button(btnTag) saves the value to the item in a list.
The code below saves the value of the textbox for all the items in the list, but i want it saved individually
Dim counter As Integer
For counter = NextPhotoNumber To PhotostoView.Count
blockOfText = txtTag.Text
Next
If Len(txtTag.Text) = 0 Then
MsgBox("Invalid Number Format", MsgBoxStyle.OkOnly)
txtTag.Text = blockOfText
lblStatus.Visible = False
End If
Me.NextPhotoNumber += 1
images.tagging()
Me.DisplayImage()
btnNext.Enabled = True
btnPrevious.Enabled = True
txtTag.Clear()
txtTag.Select()
thanks