Best Online Resource For Non-Resident Indians      SEARCH COOLNRI.COM
 HOME  FORUMS  PORTALS & REVIEWS  RECIPES  INDIAN RESTAURANTS  GROCERY  CLASSIFIEDS  MOVIES / TV  CHAT  NEWS  HOROSCOPE  PAINTINGS  CONTACT  LOGIN
Welcome Guest Search | Active Topics | Members | Log In | Register

Download WebData using C# Options
ThomasAlex
Posted: Monday, April 20, 2009 11:59:48 PM
Rank: Newbie
Groups: Member

Joined: 4/20/2009
Posts: 2
string strUrl = "http://www.coolnri.com";

WebRequest request = WebRequest.Create(strUrl);
WebResponse response = request.GetResponse();
string data = new System.IO.StreamReader(response.GetResponseStream()).ReadToEnd();

//Now, the XML File is stored in the local variable "data".
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

COOLNRI.COM 2006-2012 |  TERMS OF USE |  PRIVACY STATEMENT |  SEARCH 
FinaMetric - Affordable Effective Project Management