Populating a datagrid with an ArrayList
Does anyone have any code snippets on how to populate a Datagrid from either an Array or ArrayList of objects that I have created, and also change the column header text and width to what you want.
All the examples I've seen so far concentrate on Databinding to a Dataset.
I just need a simple way of adding my ArrayList of objects in a grid an viewing some of the properties of my objects within that ArrayList.
Would I need to convert it into XML to make this easier, and if so how?
Cheers.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

marvin7184 reputationPosted Nov 5, 2003, 11:06 AM EST