473,471 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

passing in parameters

i'm new to asp.net, and i need to create a link in an email that will
pass to a web page the email address as a parameter. I'm not sure how
to grab the parameter from the web page? thanks!
Nov 18 '05 #1
4 978
link
http://www.yoursite.com/pa****************@here.com
in page
string Email = Request.QueryString("email");

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Tommy" <to***@prelook.com> wrote in message
news:uh**************@tk2msftngp13.phx.gbl...
i'm new to asp.net, and i need to create a link in an email that will pass
to a web page the email address as a parameter. I'm not sure how to grab
the parameter from the web page? thanks!

Nov 18 '05 #2
thanks for the help, but i'm getting an error with
Request.QueryString("email");
QueryString is underlined in blue and it says denotes a property where a
method was expected?

Curt_C [MVP] wrote:
link
http://www.yoursite.com/pa****************@here.com
in page
string Email = Request.QueryString("email");

Nov 18 '05 #3
in c# its:

string Email = Request.QueryString["email"];
"Tommy" <to***@prelook.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
thanks for the help, but i'm getting an error with
Request.QueryString("email");
QueryString is underlined in blue and it says denotes a property where a
method was expected?

Curt_C [MVP] wrote:
link
http://www.yoursite.com/pa****************@here.com
in page
string Email = Request.QueryString("email");

Nov 18 '05 #4
my bad... mixing ASP and ASP.NET again... [] not ()

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"bruce barker" <no***********@safeco.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
in c# its:

string Email = Request.QueryString["email"];
"Tommy" <to***@prelook.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
thanks for the help, but i'm getting an error with
Request.QueryString("email");
QueryString is underlined in blue and it says denotes a property where a
method was expected?

Curt_C [MVP] wrote:
> link
> http://www.yoursite.com/pa****************@here.com
>
>
> in page
> string Email = Request.QueryString("email");
>
>
>


Nov 18 '05 #5

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

Similar topics

2
by: zlatko | last post by:
There is a form in an Access Project (.adp, Access front end with SQL Server) for entering data into a table for temporary storing. Then, by clicking a botton, several action stored procedures...
7
by: Pavils Jurjans | last post by:
Hallo, I have been programming for restricted environments where Internet Explorer is a standard, so I haven't stumbled upon this problem until now, when I need to write a DOM-compatible code. ...
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) {...
12
by: Joel | last post by:
Hi all, Forgive me if I've expressed the subject line ill. What I'm trying to do is to call a c++ function given the following: a. A function name. This would be used to fetch a list of...
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...
39
by: Mike MacSween | last post by:
Just spent a happy 10 mins trying to understand a function I wrote sometime ago. Then remembered that arguments are passed by reference, by default. Does the fact that this slowed me down...
17
by: Charles Sullivan | last post by:
The library function 'qsort' is declared thus: void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); If in my code I write: int cmp_fcn(...); int...
4
by: Mike Dinnis | last post by:
Hi, I've been working through a number of turorials to try to learn more about retrieving data from a SQL database. I think i've mastered techniques where i create a sql string in the page and...
2
by: csmith8933 | last post by:
How do I write a function where the number of parameters it takes varies? This is what I have but it doesnt work. // function prototype void functionThree(int num1=1, int num2=2, int num3=3);...
3
by: ajaymohank | last post by:
hello everyone..... i am ajay and i am new to php. in my project i have an option to invoke a bat file by passing parrameters and to diplay the result. i tried this code but my page got hung or...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.