Each line has multiple numbers in it, of which only the first is an int. I think what you really want is a two dimensional array of type double.
Something like the following (haven't tested in any way shape or form, treat this as sudo code)
I hope this is what you are looking for. If not, can you be more clear as to what exactly you need.
string data = File.ReadAllLines("test.txt");
double[,] numbers = new double[data.length, 6]
for(int x = 0; x < data.length; x++)
string temp = data[x].split(' ');
//assuming the first result is only used for being an index
for(int y = 1; y < temp.length; y++)
double[x][y] = Convert.ToDouble(temp[y]);
the 6 is for each number of the line, not the number of rows. You'll notice that I split each line by the space, so first time it goes through, you will get the following:
(I just realized for the inner loop I have double[x][y], this should be numbers[x][y])
Basically the code in the first response is saying this.
1. Create a 2 dimensional array where the first array will be a length of how many rows are returned and the second array will be the number of columns in each line.
2. Loop through each row and create an array that is made up of each row being split by the space between the numbers
3. For each of those arrays, go through each and convert them to a double and put them into the array of doubles.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...