Skip to content

Webpage text box

carlos

Asked Jun 25, 2007, 4:07 PM EDT2 answers
Share
LinkedInX
hi,
does anyone knows how to write to a web page textbox?
i want to do an application in c# to open a web browser an go to hotmail.com (this part is easy) but i want to pass a specific string to the user textbox. how can i do it?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    Assign it in the session state:

    Session["TextToWrite"] = "My special Message";
    // do redirect;


    // using the server control later
    myTextBox.Text = (string)Session["TextToWrite"];
    0
  • 0
    hi,
    I am a newbie in c#. can u give me a little example of what u are telling me to do?
    Thanks
    0