insert to datagridview from Form2

Jan 2 2010 9:02 AM

hi guys..i am here with a new problem
i have two forms...in the first form(form1) i have a datagridview and when i want to insert some datas in it about customers i open second form(form2)...and when i finish adding i close form2...there is no problem till here...and when i close form2 i want to see new row added to datagridview that i have in form1..but to see new row i have to close the form1 as well and when i open it again i see it there...i wrote that codes into the Form2's closing event  to see the new row in the datagridview but still i dont have the result i wish
Form1 frm1=new Form1();
frm1.Refresh();
 
so what else i can do to see that row ??

Answers (7)