I need to fill a listview on VB app with table data from a web page.

I am wanting to make a simple VB app that weill let me when I click a get button it will go to a web site and pull in all the data from the table there and show it in a listview on the form.

the webpage is

http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp

right now Ihave it to where i get the whole web page as a string but its not what i was wanting.
 Private Sub btnPrices_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrices.Click
        Dim fullpath As String = "http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp"
        Dim req As Net.HttpWebRequest '
        Dim res As Net.HttpWebResponse
 
        Dim sr As IO.StreamReader
        Dim strResult As String
        Try
            ' Create request for the web stream
            req = CType(Net.WebRequest.Create(fullpath), Net.HttpWebRequest) ' Return request in a response stream
            res = CType(req.GetResponse(), Net.HttpWebResponse)
 
            sr = New IO.StreamReader(res.GetResponseStream(), System.Text.Encoding.ASCII) 'Put the results in one big string
            strResult = sr.ReadToEnd()
            sr.Close()
        Catch ex As Exception
            strResult = "Exception occured"
        End Try 'return the results
 
 
        MsgBox(strResult)
    End Sub
End Class

Open in new window

jlcannonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
It sounds like you need to find an HTML parser, to get the data that you want from the response text.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.