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

Home Posts Topics Members FAQ

pass variable and push button


I'd like to pass a variable to my webform1.aspx, place it in a textbox
on the page and push a button to execute code when the variable is
present...
e.g.
http://www.server.com/MailboxSize/We...rname=John.Doe
or
www.server.com/MailboxSize/WebForm1.aspx
the app checks for the presence of username variable,
if username present
textbox1.text = username
button1.click
fi
Thanks,
HankC

Nov 21 '05 #1
2 1359
ASP.NET? Check out Session Variables.
"HankC" <cl****@missouri.edu> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...

I'd like to pass a variable to my webform1.aspx, place it in a textbox
on the page and push a button to execute code when the variable is
present...
e.g.
http://www.server.com/MailboxSize/We...rname=John.Doe
or
www.server.com/MailboxSize/WebForm1.aspx
the app checks for the presence of username variable,
if username present
textbox1.text = username
button1.click
fi
Thanks,
HankC

Nov 21 '05 #2
ASP.NET? Check out Session Variables.
"HankC" <cl****@missouri.edu> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...

I'd like to pass a variable to my webform1.aspx, place it in a textbox
on the page and push a button to execute code when the variable is
present...
e.g.
http://www.server.com/MailboxSize/We...rname=John.Doe
or
www.server.com/MailboxSize/WebForm1.aspx
the app checks for the presence of username variable,
if username present
textbox1.text = username
button1.click
fi
Thanks,
HankC

Nov 21 '05 #3

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

Similar topics

1
by: weiwei | last post by:
Hi all I am having trouble, let's say, I have a form text field, and I want to pass it to the next page, however, I don not want to use submitted button, instead I want to have a variable in link...
3
by: Stefano | last post by:
Hi all, i have a problem with javascript variable. I have a script that sets a global variable and open a dialog, then when i push a button of this dialog and i read the variable, this variable...
5
by: DamonChong | last post by:
Hi, I am still struggling to master C++ and is trying to understand how to achieve passing arguments using pointers. I got some questions that I like to post to the experts here, hope you can...
110
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object...
4
by: Ronald S. Cook | last post by:
I have a form open and when a user clicks a button I do a frmNew.Show() and this.Hide. But I have a value that I need to pass to the new form. How can I do this, please? Thanks very much, Ron
5
by: David++ | last post by:
Hi folks, I would be interested to hear peoples views on whether or not 'pass by reference' is allowed when using a Web Service method. The thing that troubles me about pass-by-reference into...
21
AccessIdiot
by: AccessIdiot | last post by:
Hi there, Extreme newbie here so hopefully this is an easy one. I have a switchboard with three buttons. Each button will open the same form BUT I need to pass a string depending on which...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
12
by: mandanarchi | last post by:
First of all I apologise if this is the wrong place to post this; if it fits better somewhere else, could you either tell me, or could a mod move it for me. Thanks. Access 2003 I've set up a...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.