By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,892 Members | 1,200 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,892 IT Pros & Developers. It's quick & easy.

How can I communicate with a WebPage?

P: n/a
How can I send and receive information to a webpage? Something along these
lines...
//Send data to page
SendVars.Url(http://www.mydomain.com?report=yes&var=2);

//Get data from page
GetVars.Url('http://www.mydomain.com', string report, int var);

Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Not sure what you are asking. You can definitely use the
HttpWebResponse/HttpWebRequest classes to request a webpage, however, the
content will be text based (such as HTML) which will need to be parsed.

"Keith Smith" <ke*********@verizon.net> wrote in message
news:Z_kXd.81740$wc.60106@trnddc07...
How can I send and receive information to a webpage? Something along these lines...
//Send data to page
SendVars.Url(http://www.mydomain.com?report=yes&var=2);

//Get data from page
GetVars.Url('http://www.mydomain.com', string report, int var);

Nov 16 '05 #2

P: n/a
You are looking to find out how to pass down parameters from one page to
another?
If so then you need to do:
Request.QueryString["report"].ToString() // to get the report variable
..... and so on
--
in**@dowhileloop.com
http://dowhileloop.com
http://publicjoe.dowhileloop.com -- .NET Tutorials

"Keith Smith" <ke*********@verizon.net> wrote in message
news:Z_kXd.81740$wc.60106@trnddc07...
How can I send and receive information to a webpage? Something along these lines...
//Send data to page
SendVars.Url(http://www.mydomain.com?report=yes&var=2);

//Get data from page
GetVars.Url('http://www.mydomain.com', string report, int var);

Nov 16 '05 #3

P: n/a
Keith,

Using a webpage to exchange data is always a problem, when there is one
little bit changed in that page you have a problem.

However there is a greath solution created for that WebServices.

I hope this helps

Cor
Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.