0
Reply

How get webpage value (has no ID) to label in WPF?

Frank Ryan

Frank Ryan

Aug 24 2015 7:46 AM
410
how can i get the value from a webpage to my wpf label when the webpage has no id only a <h4> tag ?
here is the code I want to get "15" to my label which is labeled lblPlatinum please help i have tried GetElementById but it has no id and i tried h4 as the id but no good ?
 
▼code snippet▼ 
 
<div class="info-bar">
   <ul>
      <li>
         <div class="wrap">
            <h4>Platinum</h4>
         <div class="quantity trophy platinum-trophy" style="background-image: url(//psmedia.playstation.com/is/image/psmedia/platinumtrophy-us-07may15?$CompeteConnectHeroBanner_Trophy$);">15</div>
         </div>
      </li>
   </ul>
</div> 
 
How can i do this please ?