darma teja

darma teja

  • NA
  • 496
  • 330.7k

update datatable in gridview

Feb 14 2013 4:44 AM
Hi,

I have form1 and form2.

Form 1 with gridview shows the data from the database. (I wrote this logic in form1 load event).

form2 is for updating the data. when the data entered in form2 and clicks button it updates the data in the database.

No my problem is: I want to see the updated data in the form1 datagridview automatically.

i tried with form2 closing  event  with form1.refresh();

it is not working.

Thanks,

Darma

 

Answers (1)