ArrayList binding

I have a DataboundDataGrid bound to an Arraylist. When items are added to the arraylist, the grid does not update. Yet when I query ((System.Collections.ArrayList)GridFileStatus.DataSource).Count, it is the correct value. How do I get the grid to "Refresh" with the data?

1 Reply

JP John Passarelli June 10, 2005 03:26 PM UTC

I figured it out, I had to call Refresh() on my grid to refresh the data. Duh.... Also, when adding a new object to an empty arraylist, I had to call Binder.InitializeColumns()

Loader.
Up arrow icon