Displaying arrays in the datagrid.
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.
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Adam ErstelleRank #3,005 · 479 reputationPosted May 26, 2004, 12:34 PM EDT
alex_lanin9 reputationPosted May 27, 2004, 12:51 PM EDT
alex_lanin9 reputationPosted May 27, 2004, 12:57 PM EDT
kevint104 reputationPosted Jun 1, 2004, 10:46 PM EDT