|
-
Apr 15th, 2010, 01:52 AM
#1
Thread Starter
Member
Populating data in a dataGridView
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?
-
Apr 15th, 2010, 01:56 AM
#2
Re: Populating data in a dataGridView
can you post the code you use to make your list of objects?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Apr 15th, 2010, 02:00 AM
#3
Re: Populating data in a dataGridView
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|