I'm updating an old VB6 program which uses the webbrowser control to navigate to a website and read some text from a text box.

i.e msgbox(Web.Document.All("Textbox2").Value)

Now I'm trying to replicate the same action in ASP .Net (aspx)

How do I go about this ?