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 ??
Loading
Kirtan PatelPosted Jan 4, 2010, 3:12 PM
Nilanka DharmadasaPosted Jan 4, 2010, 6:47 AM
I wrote a simple example for you. It does exactly what you want. Check it.
If you find it useful, please do not forget to tick 'Do you like this answer' check box.
Kirtan PatelPosted Jan 4, 2010, 6:01 AM
i can make like when you insert new record in form 2 form1 will update automatically .
Hiren SoniPosted Jan 4, 2010, 5:26 AM
Erdinc KolukisaPosted Jan 4, 2010, 4:00 AM
thanks for the reply
i tried your codes with the timer one but i cant find any method like GetAccountDetails()..
is it a method that u created or it is a method of Timer control ??
Erdinc KolukisaPosted Jan 4, 2010, 3:54 AM
thanks for the reply
i tried your codes but it doesnt work and it doesnt give error as well :(
so what else i can do ??
Hiren SoniPosted Jan 2, 2010, 10:14 AM