|
-
Sep 18th, 2003, 09:51 AM
#1
Thread Starter
Member
Using a SortedList as a datasource to a Datagrid
Anyone know how I can use a SortedList of objects and display this contents of the SortList objects in a DataGrid.
one row for each object in the list;
i.e. my object
public class MyObject
{
public MyObject()
{
//Constructor
}
public string name;
public string address;
}
add 100 objects of my class above to MySortedList. each with a different name and address.
How would I bind MySortedList to the Datagrid
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
|