Class data binding
Hello,
I've created a class that has a list of properties, for example:
DataItem Class
property ID
property Name
property Description
property Text
property State
I have a DataItemCollection class (which inherits from CollectionBase) that contains many DataItem objects. I don't want to return the results as a DataSet or DataTable and bind that to a windows form, I want to data bind a windows form to the DataItemCollection class. Is this possible? If so, how do you make a reference? Can you make a reference at design time, or do you do it at runtime?
Thanks,
Brian Mains
__________________
Brian
|