ASP does not use From to to how to achieve data transfer

Updated on technology 2024-05-11
17 answers
  1. Anonymous users2024-02-10

    %@ language = vbscript %>option explicit %>

    dim strprm

    strprm = ("name")

    Data:" & strprm

    That's it, you try.

  2. Anonymous users2024-02-09

    A little bit of ajax technology.

    On page D, when committing, run a script to process the data to be processed and put it in an XML file, and on page B or page C, load a specific XML file that has already been processed.

    When the script finishes running, page A opens.

  3. Anonymous users2024-02-08

    Use the session to store the data you want to pass and call it when you need it.

  4. Anonymous users2024-02-07

    Be specific. specific errors, as well as **.

  5. Anonymous users2024-02-06

    It can be passed through three methods: session, cookie, or querystring.

    1. Session method:

    dim aa="hello"

    session("a")=a

    <%dim a

    a=session("a")

    ">2. Methods of cookies.

    dim aa="hello"

    a")=a><%dim a

    a="a")

    ">3. The querystring method (i.e., putting the variable in **) <%.

    dim aa="hello"

    "> go to <% DIM A

    a="a")=a

  6. Anonymous users2024-02-05

    Regardless of how it is transmitted, the form data must be sent back to the server first.

    You can either send it directly or to yourself, passing it to in session.

    Submit the form directly, send it with XMLHTTP, you can do it.

  7. Anonymous users2024-02-04

    session("content")="The text or field you want to pass"

    You can give it a try.

  8. Anonymous users2024-02-03

    Intermediate values can be stored through the client-side cookie or the server-side session.

  9. Anonymous users2024-02-02

    The reason for the appearance of that thing is probably garbled.

    In addition to yours. exec="select

    from the information table where

    Name='"tname"'"

    Even if the tname can get the value, the drop cannot be executed.

    To be written as exec="select

    from the information table where

    Name='"&tname&"'"

    And arget="_blank"

    This one is obvious.

    target="_blank"

    I guess you made a mistake.

    For the problem of garbled characters.

    You put it in a web page.

    Add in between. Of course, it's possible that you're using a pure ASP** page. It's just that page A is full of <%% and so on.

    That's perfectly fine in a

    The first line. Use the handle to come out.

    That's all I know.

  10. Anonymous users2024-02-01

    Receiving the file Write it like this.

    Socks %dim r id, rs5, sql8

    r_id = "n_id")

    if ("n_id") then

    r_id = 1

    end if

    set rs5 = "")

    sql8 = select * from news where n_id ="r_id

    sql8,connstr ,1 ,1

    n hits hits + 1 n hits This field is of the numeric type.

    dim sql9

    Late Delay.

  11. Anonymous users2024-01-31

    R id is a number, right?

    sql8 = Dong Burn Select * from news where n id ="r_id&""

    where n id = is used for strings'r_id&"'

    If it doesn't work, output the sql statement and see if there is an error in the R id that Nafeng connects to read or write, just use 1 and 3.

    Don't change the paragraph type too much.

  12. Anonymous users2024-01-30

    The error message is obvious, at least one parameter is not specified.

    id"Let's see if this acquisition succeeds.

  13. Anonymous users2024-01-29

    Upstairs correct solution You can use it"id"Breakpoint to see if the string is passed correctly.

    In addition, I would like to add. Generally, it is best to judge the legitimacy of the value that has been passed, and if you write these ** above, even if it is executed normally, it is also very dangerous.

  14. Anonymous users2024-01-28

    You can add above line 17"id") statement.

    See if the id value is obtained.

  15. Anonymous users2024-01-27

    In general, passing parameters in Chinese is more or less problematic. It's best to do URL encoding before passing.

    %=rsjf3("lbj")%>

  16. Anonymous users2024-01-26

    Webpage 1. Outputs this data within the database.

    The first thing we need to do is connect to the database.

    set conn="")

    connstr="provider=;data source="& "The name of the database")

    connstr="provider=;data source="& "The name of the database") 'Connection mode of access2010.

    connstr 'Note: The access suffix created in the 2010 version of the MDB file connected to the access database is not supported.

    Next, we're going to create the data in the extraction database.

    set rs="")

    sql="select * from [here is the table name]."

    sql,conn,1,1

    There should be at least two fields in the table, one is id (automatic numbering) and the other is to store the person's name, preferably in pinyin or English.

    if not then

    rs("Here is the field name")

    There is no content in the database"

    end if 'That's it for our first page.

    Now let's write the second page.

    We need to connect to the database first, and in general we will use a separate page to store it and then call it.

    set conn="")

    connstr="provider=;data source="& "The name of the database")

    connstr

    * Prevent errors *****

    if "id")=empty then

    The name of the first page. asp") 'Let's get it back to the first page.

    Interrupt output. end if

    Next, we're going to create the data in the extraction database, note that it's not the same as above.

    set rs="")

    sql="select * from [This is the table name, where we receive the ID passed above.]

    sql,conn,1,1

    rs("The name of the field") 'Then take this as an example to represent the fields you want to display in this form, this page is not directly accessible, so we need to add a paragraph to prevent errors.

  17. Anonymous users2024-01-25

    dim userid = "userid"Here's what the normal connection to the database will look like.

Related questions
4 answers2024-05-11

Add a forum category.

Add a forum section: >>>More

10 answers2024-05-11

First of all: it is used to save the file, not to determine which directory to upload to. >>>More

8 answers2024-05-11

Take a leisurely tour of the historical and cultural city of Quanzhou. >>>More

55 answers2024-05-11

If the relationship is particularly good, you can help, just like your own store, if the relationship is ordinary, you often don't go to go once in a while without helping, especially if you want to collect money, it is best not to mix.

6 answers2024-05-11

Step 1: Install IIS

Open Control Panel - > Programs Programs and Features - > Turn Windows features on or off, check "Internet Service Information", then "Internet Service Information" - > World Wide Web Services - > Application Development Function, check "Unchecked by default, cannot be published**. After that, confirm the installation. >>>More