Click here to Skip to main content
15,885,782 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Open a pdf file in browser Pin
Morgs Morgan22-Nov-11 21:49
Morgs Morgan22-Nov-11 21:49 
GeneralRe: Open a pdf file in browser Pin
NarVish22-Nov-11 23:20
NarVish22-Nov-11 23:20 
GeneralRe: Open a pdf file in browser Pin
Bernhard Hiller23-Nov-11 3:00
Bernhard Hiller23-Nov-11 3:00 
Questionproblem in deployement on iis 7.5 Pin
uspatel20-Nov-11 23:54
professionaluspatel20-Nov-11 23:54 
AnswerRe: problem in deployement on iis 7.5 Pin
Matt U.21-Nov-11 4:44
Matt U.21-Nov-11 4:44 
GeneralRe: problem in deployement on iis 7.5 Pin
uspatel23-Nov-11 1:44
professionaluspatel23-Nov-11 1:44 
Questionto retrieve userid & name Pin
sk_ko20-Nov-11 17:00
sk_ko20-Nov-11 17:00 
AnswerRe: to retrieve userid & name Pin
Morgs Morgan22-Nov-11 21:21
Morgs Morgan22-Nov-11 21:21 
You already have the idea of using query string to pass your parameters to the next page and all you could have done is googled how to use query string, let's see if this helps:

C#
//pass the parameters like so:
Response.Redirect( "home.aspx?userid=" + userid.Text + "&name=" + name.Text() )


and on home.aspx page load event you can retrieve your parameters from the query string like so:
C#
if( Request.QueryString[ "userid" ] != null && Request.QueryString[ "name" ] != null )
{
   String userid = Request.QueryString[ "userid" ];
   String name = Request.QueryString[ "name" ];
}
else
{
   //the query strings do not exist/were not passed
}


Want more:
Passing variables between pages using QueryString[^]

Happy coding,
Morgs
QuestionNewbie Question multiple computers Pin
David C# Hobbyist.20-Nov-11 11:07
professionalDavid C# Hobbyist.20-Nov-11 11:07 
AnswerRe: Newbie Question multiple computers Pin
thatraja24-Nov-11 19:17
professionalthatraja24-Nov-11 19:17 
GeneralRe: Newbie Question multiple computers Pin
David C# Hobbyist.26-Nov-11 3:44
professionalDavid C# Hobbyist.26-Nov-11 3:44 
QuestionA control/script for image manipulation Pin
VictorSotnikov20-Nov-11 7:50
VictorSotnikov20-Nov-11 7:50 
QuestionHow to crypt my URL Pin
TRAORE cheickna20-Nov-11 5:15
TRAORE cheickna20-Nov-11 5:15 
AnswerRe: How to crypt my URL Pin
Morgs Morgan22-Nov-11 21:37
Morgs Morgan22-Nov-11 21:37 
Questionto import all tables Pin
sk_ko19-Nov-11 19:27
sk_ko19-Nov-11 19:27 
AnswerRe: to import all tables Pin
jkirkerx19-Nov-11 20:22
professionaljkirkerx19-Nov-11 20:22 
QuestionWorking with cached DataTables ? Pin
devboycpp19-Nov-11 6:47
devboycpp19-Nov-11 6:47 
AnswerRe: Working with cached DataTables ? Pin
jkirkerx19-Nov-11 19:16
professionaljkirkerx19-Nov-11 19:16 
Questiondata source problem with web control Pin
rachel_m19-Nov-11 6:05
rachel_m19-Nov-11 6:05 
AnswerRe: data source problem with web control Pin
jkirkerx19-Nov-11 19:29
professionaljkirkerx19-Nov-11 19:29 
GeneralRe: data source problem with web control Pin
rachel_m20-Nov-11 8:43
rachel_m20-Nov-11 8:43 
GeneralRe: data source problem with web control Pin
jkirkerx20-Nov-11 9:10
professionaljkirkerx20-Nov-11 9:10 
GeneralRe: data source problem with web control Pin
rachel_m20-Nov-11 14:32
rachel_m20-Nov-11 14:32 
GeneralRe: data source problem with web control Pin
jkirkerx20-Nov-11 15:19
professionaljkirkerx20-Nov-11 15:19 
QuestionSite navigation link generation using sitemap Pin
Tridip Bhattacharjee18-Nov-11 23:46
professionalTridip Bhattacharjee18-Nov-11 23:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.