How do I display a two-dimensional array?
Posted on 2009-07-14
I have a 2-d array which I want to display on the screen. It contains the names of technicians and the number of tickets they resolved. I want to be able to print the array as two columns. I'm trying to print to a text box, but it is only printing the last entry in the array. Heres the code
Do While counter <> -1
TextBox1.Text = array(counter, 0) & " " & array(counter, 1) & vbCrLf
counter = counter - 1
Where "counter" is the upper bound of the array at the start..
Alternatively, can I do this using datagridview?