Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-03-2011, 03:42 PM   PM User | #1
nplwebmaster
New to the CF scene

 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
nplwebmaster is an unknown quantity at this point
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
nplwebmaster is offline   Reply With Quote
Old 02-03-2011, 05:35 PM   PM User | #2
nplwebmaster
New to the CF scene

 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
nplwebmaster is an unknown quantity at this point
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?
nplwebmaster is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:29 AM.


Advertisement
Log in to turn off these ads.