سؤال

I want to show "30%" in a MessageBox. How can I get this information from an element in a WebBrowser?

id="meterNumber">30%<
هل كانت مفيدة؟

المحلول

See HtmlDocument.GetElementById.

MsgBox(WebBrowser1.Document.GetElementById("meterNumber").InnerText) 
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top