learn about request object in asp


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: learn about request object in asp

  1. #1
    suchi Guest

    learn about request object in asp


    hello,
    I am presently developing a site in asp.well i am new commer to this language.
    i have a problem to retrive all fields/elements in a form with a request
    object whare i do't know thw names of the fields.well i have used the server
    side scrip as
    <%
    dim cmt
    dim cl
    cl=0
    for each cmt in request.form
    cmt=request.form(cmt)
    response.write(cmt)
    cl=cl+1
    next
    %>
    but then i am not retriving all the elements & again their order is not
    maintained.
    i hope you can help me out.
    please respond soon
    suchi


  2. #2
    Sachin Guest

    Re: learn about request object in asp

    first thing is you should know the names of the fields you want to accept
    values from.Once you know the input names , then you can retrieve the values
    by giving
    request.form ("inputname")

    Sachin
    suchi <suchi_nayak_m@hotmail.com> wrote in message
    news:3a0be215$1@news.devx.com...
    >
    > hello,
    > I am presently developing a site in asp.well i am new commer to this

    language.
    > i have a problem to retrive all fields/elements in a form with a request
    > object whare i do't know thw names of the fields.well i have used the

    server
    > side scrip as
    > <%
    > dim cmt
    > dim cl
    > cl=0
    > for each cmt in request.form
    > cmt=request.form(cmt)
    > response.write(cmt)
    > cl=cl+1
    > next
    > %>
    > but then i am not retriving all the elements & again their order is not
    > maintained.
    > i hope you can help me out.
    > please respond soon
    > suchi
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center