Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

linq card html

htmlDoc.LoadHtml(await msgRecived.Content.ReadAsStringAsync());

var tds=
    from td in htmlDoc.DocumentNode.Descendants("td")
    where td.Attributes["class"].Value == "city"
    select td.InnerText;

foreach (var td in tds)
{
    citiesText = citiesText + " " + td;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linq #card #html
ADD COMMENT
Topic
Name
3+9 =