I have made a list of the objects that I need on the datagridview but how do I display my list items onto the grid?
How can I make each of my list items populate on an individual rows?
Printable View
I have made a list of the objects that I need on the datagridview but how do I display my list items onto the grid?
How can I make each of my list items populate on an individual rows?
can you post the code you use to make your list of objects?
If you have your objects in an array, ArrayList, generic List or the like then you can simply assign that to the grid's DataSource property. You may need to do a little more though, depending on exactly what you want to achieve and exactly how you object type and the list type are implemented.