XML : difficulty in getting back the data from the XML file from URL

I want values from XML file URL, I got my values without Problem from the URL when the XML file is to delete it or edit it again the same as the previous value, What is wrong ? thanks code :

              XmlTextReader get = new XmlTextReader("http://dl-tutorial.ir/addressyab/feed.xml");          XmlNodeType type;          while (get.Read())          {              type = get.NodeType;              if (type == XmlNodeType.Element)              {                  if (get.Name == "Enable")                  {                      get.Read();                      Enable = get.Value;                  }}    

No comments:

Post a Comment