There are many ways to solve your problem , however i will tell you my
vision where it doesn`t mather if you use a datagrid , datagridview or anny
other databound gui control
first of all use databinding with a dataset to your control
I guess you start form 2 from form 1 so just pass the dataset to form 2 ,
add delete or update the values in the dataset and when the form closes you
just perfom a rebind on the datasource
this will show the new data in the databound control on form 1
hth
Michel
"Sonu" <re*********@hotmail.comschreef in bericht
news:2C**********************************@microsof t.com...
Hello,
I have a winform1 that contains the Datagrid and in winform2 you can add
new values to the database for datagrid.
I cannot update the datagrid on winform2 close event! All I want is to
update the contents of that datagrid when I close winform2.
Any help would be great.
Thanks