Pass values between 2 asp.net pages [Resolved]

Posted by Karthikanbarasan under Regular Expressions on 1/24/2011 | Points: 10 | Views : 2660 | Status : [Member] [Moderator] [Microsoft_MVP] [MVP] | Replies : 2
What are the possible ways to pass values(string, object, dataset etc) between 2 pages...

Thanks
Karthik
www.f5Debug.net



Responses

Posted by: SheoNarayan on: 1/24/2011 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Good question.

Below are the ways (assuming you are talking about 2 aspx pages) that comes right now on top of my head.

String can be passed using - QueryString, PostBack, Cookies, Session, Cache, Application, Database
Object (Assuming DTO object not serialized) can be passed using - Session, Application, Cache
DataSet is a kind of object and same applies as Object.

Other members can add some more ways that I might have missed :)

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

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

Posted by: Karthikanbarasan on: 1/24/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Nice one... thanks

Thanks
Karthik
www.f5Debug.net

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

Login to post response