Results 1 to 2 of 2

Thread: Passing txt value to a second page using a link

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Question Passing txt value to a second page using a link

    I have two asp pages Page1.asp and Page2.asp. On Page1.asp I have txtLastName. Is there a way to pass the value in of that text box to Page2.asp without using the Submit button, but rather by using a link?

    Can anyone show me a quick example?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    www.deez.com/index.html?text=Hello

    use request.querystring("text") to get "Hello"
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width