Thursday, July 30, 2009

How to pass 2 values through 2 separate through the Redirect command in asp.net?

actually i have to pass two values to the redirected page when i click a button in my asp.net application. and i have to receive that both values and use it in that redirect page. how to pass through redirect command.

How to pass 2 values through 2 separate through the Redirect command in asp.net?
You have two options :


1%26gt;Either You can Use Session Variable ,


store the Vales in Session Variable on the main Page and then


use thsese values in the Redirected page.





2%26gt;Use Query String to to pass the Values to the Redirected page


and use the Indexer for Request object to extrcat these values.


No comments:

Post a Comment