Dynamically Updating a Datagrid

mbsnider

Newcomer
Joined
Feb 27, 2006
Messages
1
I have a control that contains a datagrid. The datagrid is bound to a strongly typed collection that has implemented IBindingList and CollectionBase. The class that is being stored has implemented IEditableObject.

Updates for the collection values come in from an outside source that then get stored. However, the new value does not show up in the grid unless I click on the affected row. If I use the datagrid's indexer the grids active row moves. This will affect editing of grid values.

I have tried following the vbnet022r2003 example. However, I found that example has the same problem. If you place a button on the form that updates a value programmatically the datagrid doesn't show the new value.

Is is possible to update a datagrid's datasource, that is not coming from a database, and have the grid automatically show that value?
 
Back
Top