...

View Full Version : Pass and retreive values between .net pages with VB



nplwebmaster
02-03-2011, 04:42 PM
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

nplwebmaster
02-03-2011, 06:35 PM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum