0

I would like to display a fixed-length 2D Array without having all the array items in 100 variables and binding each variable to the UI?

I have an array (for example of pictures) and want to show it exactly as it is (4x3 array):

x x x x
x x x x
x x x x
Jannik
  • 2,310
  • 6
  • 32
  • 61

1 Answers1

-1

check out following post, you can use datagridview to display dynamically the 2d arrays:

2-dimensional Integer array to DataGridView

Using datagridview you can add custom number of rows and columns. It is specially for c# where you can easily use datagridview for dynamic displaying...

Community
  • 1
  • 1
MD. Nazmul Kibria
  • 1,080
  • 10
  • 21