DomDocument

Discussion in 'ASP .Net' started by jty202, Jan 16, 2005.

  1. jty202

    jty202 Guest

    I remember in Visual Basic 6, I can retrieve a HTML file to a DOMDocument
    then do a search for a word or a unique string of code contain in the HTML
    then extract the <table> that contains the search string and then parse it

    Can I do that in ASP.net? Code samples? Tutorials?

    There must be because its very often used in Visual Basic 6 (RSS feeds and
    etc). Thanks in advance.
     
    jty202, Jan 16, 2005
    #1
    1. Advertising

  2. If you want to use COM Interop, you can use the WebBrowser control in almost
    exactly the same way you did with VB 6.0.

    However, you may want to look into 100% managed code alternatives such as
    HTMLAgilitypack:
    http://blogs.msdn.com/smourier/archive/2003/06/04/8265.aspx

    Peter

    "jty202" <> wrote in message
    news:%23RxkcLA$...
    >I remember in Visual Basic 6, I can retrieve a HTML file to a DOMDocument
    > then do a search for a word or a unique string of code contain in the HTML
    > then extract the <table> that contains the search string and then parse it
    >
    > Can I do that in ASP.net? Code samples? Tutorials?
    >
    > There must be because its very often used in Visual Basic 6 (RSS feeds and
    > etc). Thanks in advance.
    >
    >
     
    Peter Bromberg [C# MVP], Jan 17, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bird
    Replies:
    1
    Views:
    4,535
    William Park
    Mar 4, 2005
  2. Replies:
    4
    Views:
    452
    Joe Kesselman
    Nov 3, 2006
  3. MM

    DOMDocument

    MM, Apr 8, 2008, in forum: XML
    Replies:
    1
    Views:
    497
    The Magpie
    Apr 8, 2008
  4. K. Wilder
    Replies:
    1
    Views:
    556
    Dan Brussee
    Sep 16, 2003
  5. hb
    Replies:
    3
    Views:
    530
    Bob Barrows [MVP]
    Sep 2, 2004
Loading...

Share This Page