locked
code in vb RRS feed

  • Question

  • User421672444 posted

    hi ,

     TextBox txt = (TextBox)Page.PreviousPage.FindControl("TextBox1");
            
    TextBox1.Text = txt.Text

    this code is to get the text from another web page.. this is in c#.. can anyone put it in vb????

    Thursday, November 26, 2009 12:29 PM

Answers

  • User-126244515 posted
    Dim txt As TextBox = CType(Page.PreviousPage.FindControl("TextBox1"), TextBox)
    TextBox1.Text = txt.Text


     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 26, 2009 12:52 PM

All replies

  • User-126244515 posted
    Dim txt As TextBox = CType(Page.PreviousPage.FindControl("TextBox1"), TextBox)
    TextBox1.Text = txt.Text


     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 26, 2009 12:52 PM
  • User421672444 posted

    thanks a lotSmile

    Thursday, November 26, 2009 12:54 PM