locked
Pass data to second page RRS feed

  • Question

  • User2115804104 posted

    I want asp:TextBox in page1.aspx get data from DB auto and if DB has N rows so asp:TextBox in page1.aspx generate itself N asp:TextBox too; therefore data will be display in asp:TextBox on page2.aspx which I decide what asp:TextBox in page1.aspx to public now button.

    Anyone help me plz.

    Thanks. :)

    plz look pic.

    https://skydrive.live.com/redir.aspx?cid=e1fcaa18f6c0f097&resid=E1FCAA18F6C0F097!284&parid=root

    Saturday, March 10, 2012 6:23 AM

Answers

  • User-417784260 posted

    You could pass  data from one page to another in session state

     

    Session["MyDate"] = MyDBData

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, March 10, 2012 6:29 AM

All replies

  • User-417784260 posted

    You could pass  data from one page to another in session state

     

    Session["MyDate"] = MyDBData

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, March 10, 2012 6:29 AM
  • User3866881 posted

    Hello  NanNan:)

    Do you want to pass all the db contents to another page?or just the value in the textbox?

    Reguards!

    Sunday, March 11, 2012 9:57 PM