Solved

Htmlagilitypack -> getting a data-eventid

Posted on 2014-02-12
2
298 Views
Last Modified: 2014-02-28
Hi,

is it possible using htmlagaility pack to get the following

<div class="match event-information ui-event ui-27147167 ui-market ui-924_8157131 ui-no-status-message" data-eventId="27147167" data-marketId="924.8157131">

Open in new window


I have a loop that goes through a list of matches and i need to get the value data-eventId.

I would also need to search where class begins with match event-information as i wont have the event id to call the rest.
0
Comment
Question by:runnerjp2005
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39853827
After using the SelectNode, you can use .Attributes property.
0
 

Author Closing Comment

by:runnerjp2005
ID: 39894316
A short simple answer :)
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question