Datagridview refresh from different form

cus129

Newcomer
Joined
Jan 10, 2009
Messages
3
I have a form1 which has a datagrid bound to a source. There is another form2 which is a data entry form. When forms2 closes, I want to refresh the datagrid on form1.
I have tried these things

At the form closing of form1, called the refresh property of datagrid (by making datagrid control as public).

I also set the dataset of the datagrid at form closing but still after the form closing the datagrid didn't refresh.

Any help will be greatly appreciated.
 
Back
Top