473,324 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

passing parameters from source page to destination page via URL

Hi All,

I want to send the values of ID and Password from
souce page to Destination page via URL.How can this will be
achieve.Please help me.
Thank & Regards
A.Mustaq Ahmed

Mar 9 '07 #1
4 1241

On sender side make url like following.

Server.UrlEncode("http://..../page.aspx?uid=abc&password=def)

On receiver side

string uid = Page.Request.Querystring["uid"] as string;
string password = Page.Request.Querystring["password"] as string;

Mar 9 '07 #2
On sender side make url like following.

Server.UrlEncode("http://..../page.aspx?uid=abc&password=def")

On receiver side

string uid = Page.Request.Querystring["uid"] as string;
string password = Page.Request.Querystring["password"] as string;

Mar 9 '07 #3
On sender side make url like following.

Server.UrlEncode("http://..../page.aspx?uid=abc&password=def")

On receiver side

string uid = Page.Request.Querystring["uid"];
string password = Page.Request.Querystring["password"];

Mar 9 '07 #4
On Mar 9, 1:44 pm, "Muhammad Naveed Yaseen" <mnyas...@gmail.com>
wrote:
On sender side make url like following.

Server.UrlEncode("http://..../page.aspx?uid=abc&password=def")

On receiver side

string uid = Page.Request.Querystring["uid"];
string password = Page.Request.Querystring["password"];
Thank you Muhammad,What are the other uses of Server.UrlEncode

Mar 9 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: | last post by:
I am wondering if I have a single destination page, and 2 or more source pages, is there a way to tell which type of class is currently in the context.Handler? So if i am on the destination...
3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
5
by: lugal | last post by:
This might be more appropriate here. I'm new to C++, coming from a background in another languages that allowed a similar solution to work (Python). I wrote the following code in C++ based on the...
7
by: Harolds | last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005 the pmID is evaluated to "" instead of what the value is set to: .... xmlItems.Document = pmXML // Add the pmID...
3
by: JJ | last post by:
Hi, I need to pass a dataset to another win form along with a SqldataAdapter. I don't want to recreate the SqlDataAdapter again either. So to pass to another Win form in my windows form app, do...
2
by: John | last post by:
Hi In my source page I am using; Context.Items("Msg") = Msg Response.Redirect("Destination_Page.aspx") In my destination page in Page_Load event I am using; lblMsg.Text =...
3
by: bbawa1 | last post by:
I have a asp page named welcome.asp where I have three input text fields and a button named submit. When I fill text in these text fields and click on button it passes all those information to...
2
by: The KID | last post by:
Hi All So I'm new to this. What I am trying to is the user will fill in a series of text boxes or drop downs. Lets say for this instance begin date and end date. Then they would click a button and...
4
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi, just wondering if anyone can provide a brief example of passing parameters from one webpage to another, C# VS2005? I need to pass several selected values of dropdown list boxes to a secondary...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.