Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a webpage (Form A).

In Form A I am displaying a gridview with some details and the form has two buttons.
Button1 is for showing details in the gridview.

When click Button2 a new page (Form B) will be open and I will enter some values in that page and click a button to save.
All the above are done well.

Now what I need is when I close Page2 (Form B) the newly entered details (in page 2) should be reflected in Page1 (FormA) gridview.
I am unable to do this.

How can I do this?
If anybody knows please reply.
Posted
Updated 11-Aug-10 22:02pm
v2
Comments
Dalek Dave 12-Aug-10 4:02am    
Edited for Readability, Grammar and Spelling.

1 solution

You must be reloading the Page1 after closing the Page2. When you will reload Page1 it will get the updated dat fom DB if it updated in DB successfully.

So try to load the page agin after saving/closing the page2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900