4
Answers

displaying arrays in the datagrid.

alex_lanin

alex_lanin

20y
1.7k
1
lets say I have int []row1 = { 1, 2, 3, 4}; int []row2 = { 5, 6, 7, 8}; ArrayList data = new ArrayList(); data.Add( row1); data.Add( row2); now I want to display this data in the datagrid. any suggestions how I can do this? obviously, numbers or rows and number of columns (elements in the array) can be changed on the fly, but all rows (arrays) will have the same number of elements. Thank you.
Answers (4)