How to pass array values to ASP part

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Re: How to pass array values to ASP part

    Any values that exist in the client have to be sent back to the server by
    submitting a form, refreshing a page with a querystring, or some other means
    that will send the data to the server.

    Ray at work

    "Osamu Terao" <hag83950@ams.odn.ne.jp> wrote in message
    news:uueNvu0WDHA.2064@TK2MSFTNGP11.phx.gbl...
    > Ex;
    >
    > <%@ Language=VBScript %>
    > <%
    > Dim Array1(100)
    >
    > Array1 = Request.???
    > %>
    > <html>
    > <Script Language=VBscript>
    > <!--
    > Dim Array2(100)
    >
    > -->
    > </Script>
    > <body>
    > ** etc.**
    > </body>
    > </html>
    >
    > After Input values into Array2(100) in HTML,
    > how can I pass them to Array1(100) in ASP?
    >
    > Thanks in advance.
    >
    > -----------------------------------------
    > Osamu Terao
    > Email: [email]hag83950@ams.odn.ne.jp[/email]
    > -----------------------------------------

    Ray at Guest

  2. Similar Questions and Discussions

    1. Cannot pass Form values
      Hi, I have a form that used to worked 3 weeks ago. But now, the form does not pass its values when I clicked Submit. It's giving an error...
    2. url pass values
      Hello , I'm trying to make a url when somenone hits it to change a value in a db's table !!! I tried many ways but it didn't happened anything...
    3. [PHP] Cannot pass values from one page to another
      I got this value in next page(main.php) But from there I am not able to pass it to next page I used session_register('uid'); in main.php but in...
    4. Pass 2 values in the HyperLinkColumn
      I also need to pass the machName to the 'viewMachine.aspx' page????? <asp:HyperLinkColumn SortExpression="Stock_No"...
    5. Pass Values to another page.
      I am trying to a create a page that will query a SQLDB get customer information and then pass this information on to another page creating almost...
  3. #2

    Default Re: How to pass array values to ASP part

    In my experience, using Form object to send Array data causing Err.

    ex;
    <Form name=myForm>
    <input type=hidden name=ar01>

    myForm.ar01.value = Array <- type mis match Err.

    So 'some the other way may be needed?' is the point of question.
    Then any other way?


    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:O5WtEG1WDHA.1812@TK2MSFTNGP11.phx.gbl...
    > Any values that exist in the client have to be sent back to the server by
    > submitting a form, refreshing a page with a querystring, or some other
    means
    > that will send the data to the server.
    >
    > Ray at work
    >
    > "Osamu Terao" <hag83950@ams.odn.ne.jp> wrote in message
    > news:uueNvu0WDHA.2064@TK2MSFTNGP11.phx.gbl...
    > > Ex;
    > >
    > > <%@ Language=VBScript %>
    > > <%
    > > Dim Array1(100)
    > >
    > > Array1 = Request.???
    > > %>
    > > <html>
    > > <Script Language=VBscript>
    > > <!--
    > > Dim Array2(100)
    > >
    > > -->
    > > </Script>
    > > <body>
    > > ** etc.**
    > > </body>
    > > </html>
    > >
    > > After Input values into Array2(100) in HTML,
    > > how can I pass them to Array1(100) in ASP?
    > >
    > > Thanks in advance.
    > >
    > > -----------------------------------------
    > > Osamu Terao
    > > Email: [email]hag83950@ams.odn.ne.jp[/email]
    > > -----------------------------------------
    >
    >
    Osamu Terao Guest

  4. #3

    Default Re: How to pass array values to ASP part

    Join the array on the client, put the resulting string in a form element and
    then use split on the server to reconstruct the array.

    Tim.


    "Osamu Terao" <hag83950@ams.odn.ne.jp> wrote in message
    news:eE5rWM3WDHA.2360@TK2MSFTNGP12.phx.gbl...
    > In my experience, using Form object to send Array data causing Err.
    >
    > ex;
    > <Form name=myForm>
    > <input type=hidden name=ar01>
    >
    > myForm.ar01.value = Array <- type mis match Err.
    >
    > So 'some the other way may be needed?' is the point of question.
    > Then any other way?
    >
    >
    > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > news:O5WtEG1WDHA.1812@TK2MSFTNGP11.phx.gbl...
    > > Any values that exist in the client have to be sent back to the server
    by
    > > submitting a form, refreshing a page with a querystring, or some other
    > means
    > > that will send the data to the server.
    > >
    > > Ray at work
    > >
    > > "Osamu Terao" <hag83950@ams.odn.ne.jp> wrote in message
    > > news:uueNvu0WDHA.2064@TK2MSFTNGP11.phx.gbl...
    > > > Ex;
    > > >
    > > > <%@ Language=VBScript %>
    > > > <%
    > > > Dim Array1(100)
    > > >
    > > > Array1 = Request.???
    > > > %>
    > > > <html>
    > > > <Script Language=VBscript>
    > > > <!--
    > > > Dim Array2(100)
    > > >
    > > > -->
    > > > </Script>
    > > > <body>
    > > > ** etc.**
    > > > </body>
    > > > </html>
    > > >
    > > > After Input values into Array2(100) in HTML,
    > > > how can I pass them to Array1(100) in ASP?
    > > >
    > > > Thanks in advance.
    > > >
    > > > -----------------------------------------
    > > > Osamu Terao
    > > > Email: [email]hag83950@ams.odn.ne.jp[/email]
    > > > -----------------------------------------
    > >
    > >
    >

    Tim Williams Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139