DataGridView / Generics

B

BJF

If some would help - I'm trying to use a List<MyClass> collection as the
datasource for a DataGridView in a Windows form, and I can't find good
enough instructions. I'll be happy with either some 'how-to' steps, or a
point at the right documentation.

I've gotten as far as creating my class, creating a List collection of
objects of my class (using generics), and pointing the DataGridView to the
object of type MyClass). All the right columns show up, so I'm apparently
on the right track.

The next step in my documentation says to create a DataConnector object via
drag/drop from the ToolBox. I have no such control in my ToolBox, and I
don't see one listed in either Help or the Object Browser. How do I connect
my DataGridView control to the collection?

Thanks,

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top