O
Ondrej
perhaps someone could help a newbie with his big problem.
i have an arraylist with objects (class i made with two properties).
and i'd like to bind it to a datagrid. there are 3 buttons on the
form which should works as add, edit and delete. the problem i have
is everytime i use these buttons, they add(edit, delete) object to the
arraylist but i don't know how to refresh the datagrid. should i call
the method i use for databinding again? especially when i delete an
object, there is some inconsistency and the program collapses.
a piece of code would be appreciated very much
i have an arraylist with objects (class i made with two properties).
and i'd like to bind it to a datagrid. there are 3 buttons on the
form which should works as add, edit and delete. the problem i have
is everytime i use these buttons, they add(edit, delete) object to the
arraylist but i don't know how to refresh the datagrid. should i call
the method i use for databinding again? especially when i delete an
object, there is some inconsistency and the program collapses.
a piece of code would be appreciated very much
