[RESOLVED] quick arry question
Rather then adding arry(0) for all 10 member sof the arry i was trying to think of a work around.
any thing obviously wrong with this?
Code:
Private Sub arryTextBox(ByVal root As Control)
For Each ctrl As Control In root.Controls
For x As Integer = 0 To arry.Count - 1
arry(x) = CType(ctrl, TextBox).Text
Next
Next ctrl
End Sub
Re: [RESOLVED] quick arry question
Do you mean list of string? when you say list....
Re: [RESOLVED] quick arry question
I mean
Code:
Dim arry As New List(Of TextBox)
Or
Code:
Dim arry As New Dictionary(Of String, TextBox)