I've got a situation in which I want to populate a DataGridView from a list of arrays. Each row contains the values of a single array. The size of the arrays can change dynamically due to user interaction, but all the arrays in the list always have identical sizes.
I can dynamically adjust the columns of the DataGridView instance to reflect the size of the arrays, and I simply name the columns after the array indices ("1", "2", etc.). But I need to know how to shove the actual data at the DataGridView so it can update its rows.
I understand I can use a BindingSource to act as intermediary between the data source (the list of arrays) and the DataGridView, but I don't know how to set it up to perform the necessary mapping.
Thanks.