So basically I have a CSV file with 30 elements per line. I can separate the elements fine with the use of Split(",").
Now I need to make a loop that will send the text from each element to a corresponding, unique, combobox.
The bolded area is where my problem is, because you can't handle an object that way...
Is there any easy way for me to accomplish what I need?
Now I need to make a loop that will send the text from each element to a corresponding, unique, combobox.
The bolded area is where my problem is, because you can't handle an object that way...
VB.NET:
Dim FileHolder As FileInfo = New FileInfo("C:\bob.pro")
Dim TxtRDR As StreamReader = FileHolder.OpenText
Dim j As Integer = 2
Do
Dim Data = TxtRDR.ReadLine.Split(",")
For j As Integer = 1 To Data.Length
[SIZE="4"][B]ComboBoxj.text = Data(j)[/B][/SIZE]
Next
Loop Until TxtRDR.ReadLine Is Nothing
Is there any easy way for me to accomplish what I need?