I'm trying to get inport a table from a webpage where you have to login. When I'm logged in, I guess there is a cookie is in Internet Explorer so that I can just open the link, and I can see the webpage, without logging in.
Here is how I have done it in the past with webpages that required no login:
HttpWebRequest webpage = (HttpWebRequest)WebRequest.Create("http://Somewebpage");
HttpWebResponse response = (HttpWebResponse)webpage.GetResponse();
SomeWebPage = response.GetResponseStream();
Then I can get the info from the webpage source. This is prob not the best way to do it, but I'm pretty noob at this stuff. I don't know where to begin to find out how.
When I try this, I of course get errors saying that I need to login =(
Anybody have any ideas
Here is how I have done it in the past with webpages that required no login:
HttpWebRequest webpage = (HttpWebRequest)WebRequest.Create("http://Somewebpage");
HttpWebResponse response = (HttpWebResponse)webpage.GetResponse();
SomeWebPage = response.GetResponseStream();
Then I can get the info from the webpage source. This is prob not the best way to do it, but I'm pretty noob at this stuff. I don't know where to begin to find out how.
When I try this, I of course get errors saying that I need to login =(
Anybody have any ideas