Please go to this website : http://www.dofellow.com/ and see the software video.
This guy is giving values to webBrowser control text boxes from database / datagrid / textbox etc.
Can anyone tell me how is he doing that ? I think every website have different ids for text boxes then how he is giving values to those fields ?
Also, how is he searching for do follow links on google ? Can anyone share t开发者_C百科he search query with me?
Thanks in advance.
I think this guy gets these text boxes imprecisely. Maybe it won't work correctly for a site with following code:
<input type="text" id="email" /> **His code will put the name into this field**
<input type="text" id="displayName" /> **emails will be put here**
<textarea id="comment"></textarea>
To change the values of these HTML controls, we can use:
WebBrowser wb = new WebBroswer();
wb.Navigate("http://www.google.com");
wb.Document.GetElementById("theID") or GetElementByTagName etc.
精彩评论