Pass data from asp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Praetorian Guard

    Pass data from asp

    Hello,

    I have a form with a textarea and a submit button and that button will call
    an asp file and this file will query the database. My question is how do I
    pass the data to the html form so that it will be displayed in the textarea?

    Thank you in advance.


  • Ray Costanzo [MVP]

    #2
    Re: Pass data from asp

    You get the contents of the text area using
    Request.Form("n ameOfYourTextAr ea")

    If you have data to display in a text area, you'd do:

    <textarea
    name="something "><%=Server.HTM LEncode(sYourVa riableWithData) %></textarea>

    Ray at work

    "Praetorian Guard" <praetorian@gat ekeeper.com> wrote in message
    news:%23GoShUCk EHA.704@TK2MSFT NGP12.phx.gbl.. .[color=blue]
    > Hello,
    >
    > I have a form with a textarea and a submit button and that button will
    > call
    > an asp file and this file will query the database. My question is how do I
    > pass the data to the html form so that it will be displayed in the
    > textarea?
    >
    > Thank you in advance.
    >
    >[/color]


    Comment

    Working...