开发者

Binding 2-dimensional collection to DataGridView

开发者 https://www.devze.com 2022-12-19 11:46 出处:网络
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开发者_如何学C better, I can change array to some other colle

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开发者_如何学C better, I can change array to some other collection.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号