ASP call database problem helps

Updated on technology 2024-04-06
7 answers
  1. Anonymous users2024-02-07

    I'll give you a backend page.

    city="city")'This is based on the name attribute of your form.

    set conn="")

    The name of the database")&"'Please refer to the name of your classmate's road sign.

    set rs="")

    sql="select * from table name where city='"&city&"'"

    sql,conn,1,1

    if and then

    There are no classmates in the city")

    Name. Gender.

    Birthday. City.

    while not

    tr><%=rs("Name. ")%>

    rs("Gender. ")%>

    rs("Birthday. ")%>

    rs("city")%>

    end if

    set rs=nothing

    set conn=nothing

  2. Anonymous users2024-02-06

    Add a condition when querying.

    select * from where city name='variable (the name of the city you enter).'

  3. Anonymous users2024-02-05

    Let's say you've already brought in the conn file.

    set rs = "")

    select * from [table name] where City='" & cityname & "'",conn,1,1

    do while not

    rs("Name. ") &"

    set rs = nothing

  4. Anonymous users2024-02-04

    It depends on what data you're calling!

  5. Anonymous users2024-02-03

    ASP is just 4 main SQL statements, query the data and you can get the data!!

    Instance: <%

    set rs="")

    sql="select * form data table"

    conn,1,1 'Here conn is the variable name %> that connects to the database

    =rs("Here is the database field name"%> here you can display the first value of this field in the database. There are many other display methods, and if necessary, it is recommended that you learn ASP yourself!!

  6. Anonymous users2024-02-02

    Then you can make an access database, which doesn't need a server. Access is just a file that can be accompanied by the program.

  7. Anonymous users2024-02-01

    The principle of ASP access to the database.

    ASP is a server-side script execution environment that can be used to generate and execute dynamic, high-performance web server programs.

    When the user uses the browser to request the ASP home page, the web server responds, calls the ASP engine to execute the ASP file, interprets the script language (jscript or vbscript) in it, connects to the database through ODBC, and the database access component ADO (ActiveX Data Objects) completes the database operation, and finally the ASP generates an HTML home page containing the data query results and returns it to the user for display.

    Since ASP runs on the server side, the running result is returned to the user's browser in the form of HTML homepage, so the ASP source program will not be leaked, which increases the security and confidentiality of the system. In addition, ASP is an object-oriented scripting environment, and users can add their own ActiveX components to extend its functionality and expand the scope of applications.

Related questions
14 answers2024-04-06

Help pull! It's a matter of intelligence.

1. I swear (584), I will go out with you (5682177778), love with you (12234), go together (1798), go for a walk (76868), I don't want to be with you (587129955), being loved is happiness (829475). >>>More

11 answers2024-04-06

He is loyal, brave and kind, and he can change his mistakes when he knows them, and he is quite simple and honest.

11 answers2024-04-06

f(x)=x+a x g(x)=x-lnx xe[1,e] f(x1)>=g(x2) That is, f(x) must be greater than or equal to the maximum value of g(x) is the minimum value of f(x) and greater than or equal to the maximum value of g(x). >>>More

19 answers2024-04-06

I guess she's testing your will. The best thing to do is to wait two or three or four or five days before texting her and saying I'm sorry, I really miss you. >>>More

8 answers2024-04-06

The key to solving the problem is that the salt content of the brine remains the same. >>>More