How to refresh the form

Mittaikariss
Posted by Mittaikariss under C# category on | Points: 40 | Views : 3435
my first form is datagridview .side buttons is..add ,edit, delete,and close.now i want add some details then click add button then open another form...now insert the data from add form..now add form close after inserted data...i want automatic refresh the form1..

i am using form1 obj=new form1();
obj.refresh();

but it is not work..


Then i am using delegate ..then i got output...
we can use delegate and also event method.

http://www.tech-bee.com/

Comments or Responses

Posted by: Pervej on: 9/22/2011 Level:Starter | Status: [Member] | Points: 10
Posted by: T.saravanan on: 9/25/2011 Level:Silver | Status: [Member] [MVP] | Points: 10
@pervej i think mittai kariss discuss about winform application but your link is solution for the webform application.

@Mittai Kariss in your code, also mentioned that code is not working then why should not give the solution (Delegate & Events).
So give the solution for that one its really useful to viewers.

Login to post response