Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: WP8 problem with Htmlagilitypack

$
0
0
This is the function I used to get the string content from the website ..the problem is when executed first I cannot get the string content( " App.Data2 = userprofile.InnerText;") since it skips to the next line ( "App.savecontent(App.Data2); ") so tht i get the empty string ...if I recall the function I can get the string .Is there any idea possible to solve this issue I need the string value first time automatically ..please suggest me some ....:/ thanks :)

public void DownLoad(object sender, HtmlDocumentLoadCompleted e)
{

        if (e.Error == null)
        {
            HtmlDocument doc =  e.Document;

            if (doc != null)
            {

                var userprofile = doc.DocumentNode.SelectSingleNode("//div[@class = 'ui-large-content']");
                App.Data2 =   userprofile.InnerText;
                App.savecontent(App.Data2); 

            }
        } 
    }

Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>