How would I go about displaying a 2-dimensional integer array into a DataGridView Control in C# .Net 4.0?
How would I go about displaying a 2-dimensional integer array into a DataGridView Control
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Follow the code sample on this page to populate the
Rowsproperty:http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx
Edit
Turns out this is a bit thornier than I thought. Here’s a code example: