Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8268711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:58:52+00:00 2026-06-08T05:58:52+00:00

Before you stop reading and suggest HTML Agility (based on the title), I am

  • 0

Before you stop reading and suggest HTML Agility (based on the title), I am already using this tool. The problem is this: I have have a webpage that lists a whole bunch of case numbers and has links to the individual case number page. My app already downloads this info and displays it in a datagridview. However in my app I also need information from the individual case number pages (the links).

The problem is I already know it’s going to take forever to acquire using HTML agility. To get the case page, it takes about 2 minutes. Code wise I’m feeding HTML agility the HTML code, adding the cell values to an array and parsing out the array indexes I to display in my grid. This is a very large array parse for the number of components on the page.

Any ideas to acquire the main page and specific cells from the linked pages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:58:55+00:00Added an answer on June 8, 2026 at 5:58 am

    An example showing how you can use XPath in HmtlAgility

    HtmlDocument doc = new HtmlDocument(); doc.LoadHtml(yourHtml);

    Example 1 : //The below example will get all div’s with class as container foreach (HtmlNode node in
    doc.DocumentNode.SelectNodes(“//div[@class=’container’]”)) {
    Console.Writeline(node.InnerText); }

    Example 2 : //The below example will get first div with class as container HtmlNode node in
    doc.DocumentNode.SelectNodes(“//div[@class=’container’][1]”))

    Console.Writeline(node.InnerText);

    You can use Xpath Queries to get the element(s) you want

    for XPath syntax and more please use the link http://www.w3schools.com/xpath/xpath_syntax.asp

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading about this scenario where making use of the C# using statement
I know this has been asked before as ive just been reading those answers
I have been reading the developer blog on Facebook this morning and stumbled across
I have been reading around this subject all morning, but I am still confused
Please stop me before I make a big mistake :) - I'm trying to
I need to stop a pair of services just before I delete a database.
before I start I want to point out that I tagged this question as
Before asking my question, let me explain the context. CONTEXT: I have a web
(Before I start, yes I have asked a similar question before; unfortunately due to
Before, I was using VS 2008 command prompt and when I do clrver I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.