webbrowser, read the filled input fields

Hi, i need help:

I have mad a webrowser-item and insert Text:

<form>
<input name="test" value="">
<select name="test">
<option value="1">t</option>
<option value="2">tt</option>
</select>
</table>

So, the output from the webbrowser is right. now i will fill in the textfield my name, and selected the option t.

now i will read the inputs, also the selcted option and the inputfield value and write this in a textbox.

what i have to do, to read this things and to write it.

help me! thanx



Answer this question

webbrowser, read the filled input fields

  • hostile17

    Hi,

    i can't understand what you want fill with your name The option of select

    change attribute value="1" to value="Andreas".

    If you want also to see it, modify "t" in "Andreas".

    Then you could create a textbox named txt1, for example, and fill the property text with the selected value of your control.

    txt1.Text = ...selected

    If you mean in different way, fill txt1.Text with your string (or concatenated strings using "+").

    Why are you not using a ready control (list, checkbox...)instead of using html control to select

    Provide more details...



  • webbrowser, read the filled input fields