Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Pass and retreive values between .net pages with VB

    i am not good with .net pages but forced to use it because of the needs. i know little bit and have built some online forms.

    My Problem:I have the first page with a form to submit values. i am using server.transfer to pass the values to the second page. The problem is with the second page. I need to capture the values and pass it to a variable to build a url which is an xml file. Then use ReadXML method to read the values and then write in the body of the page. I am not able to pass the values so far to the url. can the values be used again in the second page to build something?

    Thanks
    -Nita

  • #2
    New to the CF scene
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    why does this code works?
    sub Page_Load
    if Not Page.IsPostBack then
    dim mycdcatalog=New DataSet
    mycdcatalog.ReadXml("http://calendar.naperville-lib.org/evanced/lib/eventsxml.asp?dm=exml&lib=ALL")
    cdcatalog.DataSource=mycdcatalog
    cdcatalog.DataBind()
    end if
    end sub

    However if I capture the url through response.redirect it doesn't work?


  •  

    Posting Permissions

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