Use DataGridView
in it there is nothing difficult.
DataGridView
universal and serves to display any collection and not only from the database.
In order to bind elements to it you need a collection, for example List<T>
.
After you create the collection, you do:
DataGridView.DataSource
= <your collection> and the data is automatically entered into a table.
This is the easiest option.
But with the array will have to tinker a bit.
For example, there is an array of string [,] mas of NxM dimension
dataGridView1.RowCount = N; dataGridView1.ColumnCount = M; int i, j; for(i = 0; i < N; ++i) for(j = 0; j < M; ++j) dataGridView1.Rows[i].Cells[j].Value = mas[i, j];
In my opinion the best thing is to use collections.
Details
mode, ListBox withMultiColumn = true
property, and TableLayoutPanel . - Alexander Petrov