C
C#3y ago
idris_2020

✅ I am trying to output a 2D array to a datagridview, but it is not outputting correctly

It is saying System.Int32[]
7 Replies
Angius
Angius3y ago
That's what the .ToString() for arrays defaults to, yes You'd need to use string.Join() to turn an array into a string
idris_2020
idris_2020OP3y ago
to make it easier im just using a string array now
idris_2020
idris_2020OP3y ago
idris_2020
idris_2020OP3y ago
but this error comes up
deluvas
deluvas3y ago
because you used seat[x] instead seat[y] as indexer ^^
idris_2020
idris_2020OP3y ago
it finally works thanks everyone!!
Accord
Accord3y ago
Closed!

Did you find this page helpful?