Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 12121758

@User 12121758
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Getting ASCII value for Characters?
    U User 12121758

    Alt+130 would be é not è (which you wrote in your question). è would be Alt+138. But those are both not ASCII since ASCII has only 128 Symbols. So what exactly do you want to do? Convert the third character (which would be ",") or the è ?

    C# com question

  • Get row from AngleSharp.Dom.Html.HtmlSpanElement
    U User 12121758

    Hello everyone. I'm currently trying to get into htmls and as a start wanted to create a program which reads the current Artist and song out of a Webradio. So far i can read out an Artist and song but it's not the current one but the last one in the list on the site...could anyone help me getting the current one? That'd be great. :) Here is my Code so far:

    using (WebClient client = new WebClient())
    {

                string htmlCode = client.DownloadString("http://www.planetradio.de/music/trackfinder.html");
                
                var parser = new HtmlParser();
                var document = parser.Parse(htmlCode);
                
                
                var hitfinderTable = document.All.Where(m => m.Id == "hitfindertable").First() as AngleSharp.Dom.Html.IHtmlTableElement;
    
                foreach (var row in hitfinderTable.Rows)
                {
                    var artistName = row.Cells\[2\].TextContent;
                    var songName = row.Cells\[3\].TextContent;
                    
                    label.Content = artistName + " " + songName;
                    
                }
            }
    

    Thanks to everyone in advance.

    C# html help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups