How can we pass the data from one page to another page

Posted by Parimi.chowdary under ASP.NET on 10/18/2011 | Points: 10 | Views : 911 | Status : [Member] | Replies : 4
How can we pass the data from one page to another page with out using session and query string.




Responses

Posted by: Ndebata on: 10/18/2011 [Member] Starter | Points: 25

Up
0
Down
Store it anywhere from one page and access it in other page.
You can use a xml file to save it in you application, or you can use database etc.

Parimi.chowdary, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 10/18/2011 [Member] Bronze | Points: 25

Up
0
Down
through cookies also possible

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Parimi.chowdary, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gausi on: 10/18/2011 [Member] Starter | Points: 25

Up
0
Down
using Cross Page Post-back you can access previous page in current page.
for detail use following link.

http://www.codeproject.com/KB/aspnet/CrossPagePosting.aspx

Regards,

Gaurav Singh
(gausi)

Parimi.chowdary, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vivekanand on: 10/18/2011 [Member] Starter | Points: 25

Up
0
Down
Hi!!
There are many ways to pass the data from one page to another. I am attaching one sample Project in which I used QueryString to pass the data from one page to another.
If you any question feel free to ask.

Thanks & Regards
Vivekanand Singh
 Download source file

Parimi.chowdary, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response