HttpWebRequest rssFeed = (HttpWebRequest)WebRequest.Create("http://www.tcmb.gov.tr/kurlar/today.xml");
using (DataSet rssData = new DataSet())
{
//read the xml from the stream of the web request
rssData.ReadXml(rssFeed.GetResponse().GetResponseStream());
}
Member
17 Points
70 Posts
Rss Link doesnt work i cant use any WebService or Xml link
Mar 05, 2013 12:31 AM|Mstkk|LINK
my code here
when i try to download something with VS always return to me null object i cant download any item xml or i cant use any WEBService !!
Contributor
5054 Points
1332 Posts
Re: Rss Link doesnt work i cant use any WebService or Xml link
Mar 05, 2013 03:43 PM|kushalrdalal|LINK
Try something like this -
My Blog
LinkedIn Profile
All-Star
35159 Points
9079 Posts
Re: Rss Link doesnt work i cant use any WebService or Xml link
Mar 05, 2013 04:04 PM|smirnov|LINK
The above code works well for me but target XML includes two tables: Tarih_Date and currency. You might need to explicitly set the table, e.g.
Hope this helps.