In my app (C#) I have a WebBrowser that logins automatically to a site, from there I want to take my data and display it in a textBox. How can I do this because when I get the source code I cant find any sellPrice and in DOM Explorer doesn't have any id. Maybe it is because the data changes constantly ?
Asked
Active
Viewed 59 times
2 Answers
1
Please have a look at HTMLAgilityPack solution. It is HTML parser that builds a read/write DOM. You can download it from here.
I hope, it might resolve your problem.

Krishnraj Rana
- 6,516
- 2
- 29
- 36
-
Thanks, I've been looking all day long on how to use HAP on my situation, but with no luck :( I've tried examples, sample codes, youtube videos but nothig seems to work.. So please if you can help me I will be very grateful. – Rami Feb 09 '14 at 01:28
-
Okay, then go though this link - [How to use html agility pack](http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack). I m sure it'll help you. – Krishnraj Rana Feb 09 '14 at 03:05
0
You can get data like:
HtmlElement he = this.webBrowser1.Document.GetElementById("tbox_sell_price");