Because it is the text frame's code is not in the HTML file, nor in a JS file, but in a strange under a long name (please look at the left side of the green of the corresponding line of the word, it is opened by Internet explorer 9 F12 view page source code),
As shown in figure, could you tell me how to use WebBrowser. Document. All () the SetAttribute (" value ",) to me to fill in the content of the orientation to the code in the corresponding text box? (have tried used directly in front of the code, an error, estimates that still have to add some other things, I don't know much about), thank you
CodePudding user response:
Can it use HttpWebRequestCodePudding user response:
Use WebBrowser. Document. GetElementByID or GetElementsByTagName Element Element a try,CodePudding user response:
Fill out the form, there are two way to
One is direct data submitted by HttpWebRequest, don't tube he web page, even without the WebBrowser.
Another kind is a similar script tool to fill in the surface layer framework, is the host's WebBrowser trying.
WebBrowser control can be achieved by WebBrowser. Document. GetElementByID page DOM elements, operating DOM elements to achieve the effect you want.
But you have to know page source code is what...
Web page source code is not the case, you must be mistaken.