Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > change the value of two dimension array via DataGridView
 

change the value of two dimension array via DataGridView

hi
I have an array with two dimension . How I can change and display the value of this array via DataGridView ( I think it is not possible to do that via DataGridView .DataSource ((bound mode)))

Thanks
alladeen88  Monday, September 28, 2009 10:17 AM
You can loop through the array dimension that you want to display in a row first.

Then loop through the array dimension that you want to display in the columns.

Inside the second loop, display your values.

What programming language are you using?

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Monday, September 28, 2009 6:42 PM
You can loop through the array dimension that you want to display in a row first.

Then loop through the array dimension that you want to display in the columns.

Inside the second loop, display your values.

What programming language are you using?

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Monday, September 28, 2009 6:42 PM

You can use google to search for other answers

Custom Search

More Threads

• Some question about ASP.net
• mail sending using VB
• TableAdapter and Binding Questions
• using me.validate
• DisplayIndex of the DataGridView not properly working
• OutOfMemory loading image in DataGridViewImageColumn
• DataSet Binding with Custom Controls
• << Refresh Combobox contents populated via datasource from SQL table >>
• Value not reflected on DatagridView Leave event
• About Girdview and DataList