Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > DataGridView / Generics

Thread Tools

DataGridView / Generics

Posts: n/a
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?



-- Removed)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
generics depending on generics Soul VHDL 0 02-02-2009 09:14 AM
VS2005 - DefaultValuesNeeded - bug? Adding default values in DataGridView dbuchanan ASP .Net 7 05-23-2006 05:09 PM
Forms inheritance - datagridview =?Utf-8?B?Rmlyb3o=?= ASP .Net 0 01-06-2006 08:37 AM
DataGridView / Generics BJF ASP .Net Web Controls 0 12-03-2005 02:34 PM
Can't convert a generics list of objects into a generics list ofinterfaces Juergen Berchtel Java 1 05-20-2005 02:07 PM