Thank you for your answer!
Anothor disadvantage with
> > dg.DataSource = null;
> > dg.DataSource = myArrayList;
is that the datagrid won't keep the "scroll location" - if the user has
scrolled down and the datagrid gets updated it will "scroll up". That kind
of behavior will probably upset the users...

Is there a way to keep the "scroll location"?
Regards / Peter Bladh
"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> ArrayList does not expose the IBindingList interface which expose the
Event
> used to react to changes in the datasource. The only way to refresh the
grid
> therefore is to manually force it to update using the method described
> below.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> OpenNETCF.org Senior Advisor
> www.inthehand.com | www.opennetcf.org
>
> "Peter Bladh" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi!
> >
> > After a tip from Alex Feinman I manage to databind a datagrid to an
> > arraylist (thanks!). But the datagrid doesn't reflect changes in the
> > arraylist, unless I do the following
> >
> > dg.DataSource = null;
> > dg.DataSource = myArrayList;
> >
> > ... which doesn't seem very effective.
> > Is there a better way?
> >
> >
> > Regards
> > Peter Bladh
> >
> >
>
>