hi
i have any website that has 4 textboxs
i need to insert the word "YES" to textbox number 2
how i can do it using C# winform code ?
thank's in advance
hi
i have any website that has 4 textboxs
i need to insert the word "YES" to textbox number 2
how i can do it using C# winform code ?
thank's in advance
chek out my login code:
HtmlElementCollection trytologin = ((WebBrowser)sender).Document.GetElementsByTagName("input");
var usernameInput = (from HtmlElement input in trytologin where input.Name == "username" select input).Single();
var passwordInput = (from HtmlElement input in trytologin where input.Name == "password" select input).Single();
usernameInput.SetAttribute("value", "myusrname");
passwordInput.SetAttribute("value", "mypassword");