C # - Pass the string to the text box on the Web page using the Webbrowser control

advertisements

Is there a way to take the value of a string and pass that to a textbox within a web page while using the webbrowser control?


HtmlDocument doc = this.webBrowser1.Document;
doc.GetElementById("myId").SetAttribute("Value", "someValue");

try this