✅ Best way to display a 2D array
What would be the best way to display a 2D array in winforms c#, with the best design, or is just printing it in a textbox the best way
18 Replies
DataGridView Control - Windows Forms .NET Framework
Learn how to use the
DataGridView
control to show read-only views of a small amount of data, or scale it to show editable views of very large sets of data.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
where exactly would you put the code for array and and the ‘dataGridView1.DataSource = array;’
I have made a class for the array
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i want it to be there are the start
and stay there the whole time but updating when it needs to be
would i put it under the form1_load?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
aight ty
did chatgpt generate this?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
sadly i dont trust them enough to give them my phone number else i would use it aswell..xD
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
oh damn
so i can use chatgpt for my questions?
I that answer was written legit by an expert or something
Just remember that ChatGPT can be very wrong with its answers
Always take it with a grain of salt
Other than that, pretty solid AI
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
🗿
This doesnt work
the datagridview stays empty
how do i print to a textbox
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
#✅ I am trying to output a 2D array to a datagridview, but it is not outputting correctly
Closed!