Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources


Forums»Javascript Forums»



i want redirect page with send textbox value

i created one web form

the form contain two label box and text box

in the form one button is placed

i click the button the page redirect to next page

window.location.href="fdfgd.com";

but

i wll send textbox value and label box value in the corresponding redirect page..
pl help me...
posted by:anonymous on 5/5/2007 12:00:00 AM
Posting textbox value to other page.

in the page where the textbox placed, u'must write the below code in Button's click event(ie. the hyperllink to nextpage).

Session["name"] = TextBoxName.Text;
----------------
And in the receiving page, u must write the below code to get the textbox value.

String val = Session["name"].toString(); (this code is fr C#.Net)
posted by:Satheesh  on 5/6/2007 12:00:00 AM
© 2008 dotnetwatch.com -- Privacy policy

Website Design & Internet Marketing by Shivam