Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have code as below

string url="http://localhost:2002/Application/Newpage.aspx";


HttpWebRequest requestIP = (HttpWebRequest)WebRequest.Create(url)

i Need given url to be loaded .

But automatically it took the default page as a home page.


requestIP.address="http://localhost:2002/Application/Default.aspx"

i need to change this requestIp.address=url;

but it shows error as requestIP is Read only
Posted

1 solution

Please see MSDN[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900