CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Posts
    22

    Passing value to another page

    Hi!

    I am trying to pass a value from page 1 to page 2. I was wandering what is the procedure/code for that? For eg. page1.txtloginID = page2.label1

    And is there a recommended site that I read up on ASP.NET? Thanks.

    Alexandar

  2. #2
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308
    if u'r passing Form object from Page1 to page2

    then u can try this option (i tried it in ASP 4.0)

    Code:
    <% =Request.Form("txtLoginId") %> ' use this in page2.asp
    hope this helps....
    Venu Bharadwaj
    "Dream it. U can do it!"

  3. #3
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308
    sorry!! code is not appearing in my last post..

    code is "Request.Form("txtLoginID")"
    Venu Bharadwaj
    "Dream it. U can do it!"

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

Featured