Sergey
Sergey

Reputation: 49788

Binding 2-dimensional collection to DataGridView

There is a two-dimensional array of double: private double[,] RecipesMatrix; I want to bind it to DataGridView. How can I do this? If it is better, I can change array to some other collection.

Upvotes: 2

Views: 3955

Answers (1)

Vivek
Vivek

Reputation: 16508

Edit: I mis-understood your question. Take a look at http://www.codeproject.com/KB/database/BindArrayGrid.aspx which solves exactly what you want.

Upvotes: 2

Related Questions