T
Tony Johansson
Hello!
I have a form lets call it form 1 which have a DataGrid that show 5 rows
from a database. I then call another form lets call it form 2 that also has
a DataGrid.
In this second form 2 a add a row into the table in the database that form 1
is reading from.
So when I close the second form I want to catch this event in form 1 so I
can do DataAdapter.Fill so the DataGrid
is in match with the table in the database.
I can use a Refresh button in Form 1 that do just that DataAdapter.Fill but
I hope I can do this autmomaticaly
in some way when form 2 is closed.
//Tony
I have a form lets call it form 1 which have a DataGrid that show 5 rows
from a database. I then call another form lets call it form 2 that also has
a DataGrid.
In this second form 2 a add a row into the table in the database that form 1
is reading from.
So when I close the second form I want to catch this event in form 1 so I
can do DataAdapter.Fill so the DataGrid
is in match with the table in the database.
I can use a Refresh button in Form 1 that do just that DataAdapter.Fill but
I hope I can do this autmomaticaly
in some way when form 2 is closed.
//Tony