I have been struggling with this for a bit and not quite sure the best way to go about this. I can go through the controls and get the text in each control and add them to a string.

Code Below Code:
  1. Public Shared CombineBoxVarStr As String
  2.  
  3.             Dim sb As New StringBuilder()
  4.  
  5.             For Each ctrl As Control In FlowLayoutPanel1.Controls
  6.                 If TypeOf ctrl Is TextBox Then
  7.                     Dim tbox = DirectCast(ctrl, TextBox).Text
  8.  
  9.                     sb.Append(tbox)
  10.  
  11.                 End If
  12.  
  13.             Next
  14.  
  15.             Dim Mystring As [String]
  16.             Mystring = sb.ToString()
  17.             CombineBoxVarStr = Mystring

Which works great but the problem is I need the format to be a bit different.

Name:  Input.jpg
Views: 141
Size:  27.6 KB

The above code output = A1B2C3

What I need is A=1 B=2 C=3

Any help or suggestions would be great.