G
Guest
I am working on an application that is utilizing collections of objects. I
am trying to display the collection of objects in a datagrid. This works
because my collection implements the iList interface. The problem I am
having is that I cannot get the Datagrid to update its contents whenever my
collection object is changed. For example if I add a new object to the
collection or remove an object from the collection, the datagrid contents
remain unchanged.
I set the datagrid.datasource = to my collection, and I have read some
information about having to use databindings to affect any change to the
datagrid, but have been unsuccessful in getting this to work.
am trying to display the collection of objects in a datagrid. This works
because my collection implements the iList interface. The problem I am
having is that I cannot get the Datagrid to update its contents whenever my
collection object is changed. For example if I add a new object to the
collection or remove an object from the collection, the datagrid contents
remain unchanged.
I set the datagrid.datasource = to my collection, and I have read some
information about having to use databindings to affect any change to the
datagrid, but have been unsuccessful in getting this to work.