How to perform the two actions at a time when I click on btn
In my page I have Apply button,if I click on button,the job details should be applied successfully and it should be redirect to other page(Up to now okay),the applied job details should be stored in Grid View but this grid is in other page(The grid design should be in other page ).So I need a action when click on apply button the next page grid data should update with job details?Can any one help me how to do??
Usha RajPosted Mar 12, 2015, 9:08 AM
I understood what you said,Both are two different tables,when I click on apply page,the details should be stored into data base and at the same time the job details data also should be update in Grid view(Job details are comming from different table and at the same time I want to store in new table) both are two different tables because apply page of the details are totally different.So when I click on apply button the next page details should be insert in a database table and at the same time it should be display in Grid view
Pankaj Kumar ChoudharyPosted Mar 12, 2015, 8:12 AM
According your scenario you can use a class and create a static table in that class.Before redirect to another page you can save your data in this table after redirect to another page you can use this table for your Gridview........
Suraj SahooPosted Mar 12, 2015, 8:02 AM
I understand you scenario here. See on click of apple, you would anyway saving/updating the job details to the database table, from which the grid fetches record.
Now once the table is updated, then when you navigate to the grid page, it fetches fresh records and thus updated frid is shown with the required records.
I hope you got me here.
Please correct me if my understanding went wrong.
Accept if helped.
Thanks