Results 1 to 5 of 5

Thread: Implementing forms with ASP

  1. #1
    Join Date
    Aug 2006
    Posts
    253

    Implementing forms with ASP

    I am very new to the Active Server Pages (ASP). But I am not know how to use forms from the ASP.?? Also please tell me hoe can I retrieve the information from the form..?? Also can I process information gathered by an HTML form..? Tell me the commands that are used for this process..? Since I am new help me with all this topics. Extremely Thanks in Advance.!!

  2. #2
    Join Date
    Jul 2006
    Posts
    286

    Re: Implementing forms with ASP

    First I would like to answer your questions shortly. You can process information gathered by an HTML form by using the ASP. Also you can take the decisions or you can say validation based on the information to create dynamic web pages, by using the ASP code. Also the commands like Request.QueryString and Request.Form can be used to retrieve information from forms. In simple words, you can say that the Request.QueryString and Request.Form commands are used to retrieve user input from forms. You should also create a database to store the values of the user's input.
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  3. #3
    Join Date
    Jul 2006
    Posts
    442

    Re: Implementing forms with ASP

    Before proceeding with an ASP code, you will have create an HTML form. Because the information would be sent to ASP page from the HTML form. You can use one of the following two methods for sending the data to ASP :
    • Get Method
    • Post Method

    You will have to define the Method attribute in HTML Form element, through which you can come to know that these two types of sending information are defined. You will have to keep in mind that the location of the ASP web page must be specified that will process the information.
    "When they give you ruled paper, write the other way..." J.R.J.

  4. #4
    Join Date
    Jul 2006
    Posts
    289

    Re: Implementing forms with ASP

    The below is an example of the form in which I am using the Method="get" in ASP.
    HTML Code:
    <html>
    <body>
    <form action="trial_request.asp" method="get">
    Your name: <input type="text" name="fname" size="25" />
    <input type="submit" value="Submit" />
    </form>
    <%
    dim fname
    fname=Request.QueryString("fname")
    If fname<>"" Then
    Response.Write("Welcome " & fname & "!<br />")
    Response.Write("How are you?")
    End If
    %>
    </body>
    </html>
    Signatures reduce available bandwidth

  5. #5
    Join Date
    May 2008
    Posts
    2,389

    Re: Implementing forms with ASP

    For using the Request.QueryString in ASP code, you can take a look at the following code :
    HTML Code:
    <body>
    Welcome
    <%
    response.write(request.querystring("fname"))
    response.write(" " & request.querystring("lname"))
    %>
    </body>

Similar Threads

  1. c++ and cplex - model implementing
    By golemmbarbarr in forum Software Development
    Replies: 1
    Last Post: 11-05-2011, 06:57 AM
  2. Implementing SSRS in Silverlight 4
    By Obama P in forum Software Development
    Replies: 5
    Last Post: 05-08-2010, 09:29 AM
  3. Implementing WIFI on a resort/bar
    By rogeryu in forum Technology & Internet
    Replies: 2
    Last Post: 22-01-2010, 05:18 PM
  4. Implementing rss on a site
    By Cruzz in forum Technology & Internet
    Replies: 5
    Last Post: 19-01-2010, 12:02 AM
  5. Implementing ADA on Xcode
    By Doroteo in forum Software Development
    Replies: 3
    Last Post: 19-11-2009, 06:22 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,676,765.97432 seconds with 17 queries