i am new to asp.net,
ı want to get data from url on asp.net. & need data to be in store into string.
if suppose this is my URL thn i want to fetch this URL Data in string,
http://www.islamicfinder.org/prayer_service.php?country=bahrain&city=manama&state=02&zipcode=&latitude=26.2361&longitude=50.5831&timezone=3.00&HanfiShafi=1&pmethod=4&fajrTwilight1=&fajrTwilight2=&ishaTwilight=0&ishaInterval=0&dhuhrInterval=1&maghribInterval=1&dayLight=0&simpleFormat=xml
Try this
WebClient
is useful for this kind of thing (scartag's answer demonstrates the simplicity of this), but for more advanced options you should look at the underlyingWebRequest
class: