How to write the ASP statement on this page

Updated on technology 2024-08-06
3 answers
  1. Anonymous users2024-02-15

    dim flag

    flag = false

    set conn = "")

    - Establish a connection to the database using OLE DB strings "For SQL Database" --"provider=;user id=sa;password=;initial catalog=database name; data source=(local)"

    set rs1="")

    set rs2="")

    sql1="select * from Table 1"

    sql1,conn,1,1

    sql2="select * from Table 2"

    sql2,conn,1,3

    rs2("1")=request("1")rs2("2")=request("2")rs2("3")=request("3")rs2("a")=request("a")rs2("b")=request("b")rs2("c")=request("c")do while not

    if rs1("a")<>request("a") or rs1("b")<>request("b") or rs1("c")<>request("c") then

    flag = false

    elseflag = true

    exit do

    end if

    loopif flag then

    rs2("But")="Yes"

    elsers2("But")="Nope"

    end if

    set rs2=nothing

    set rs1=nothing""

  2. Anonymous users2024-02-14

    You start by defining a variable.

    I judge it when I add it.

    Table table, table table, table table.

    This is whether there is such data or not.

    If there is, let the variable be equal to No, otherwise equal to No.

    rs("But") = variable.

  3. Anonymous users2024-02-13

    First of all, you have to have goals for yourself, don't think too hard to learn things at first, you first have to learn the basic language of vbscrip, there are vbscript manuals everywhere on the Internet**, and then learn the connection between AESS and ASP**, your **vbscript also has instructions, you must at least master a database connection**. If you do all of this, then you can easily understand the asp.

    I'll give you a few simple ideas, but I don't know if you're a good fit, that's how I used to be.

    Oh,The premise is that you learn HTML,That's better,When you learn vbscrip,,You first learn to use vbscript to process the submitted form data,Do you understand the form?,It's the form tag in HTML.。

    If you learn a little bit of these, then it is recommended that you make a simple calculator to try to see if you have done it, if you can't do it, you can go to the Internet to check the source is destroying the good code, analyze it, and then make a stronger function yourself. Try to handwrite**Oh.

    If you know how to make a calculator, then learn to do login page client data processing, I used to take Tencent's page to register a QQ number to do it, you can also try it.

    If you can do this, then you start to write a message book, how to write, then you have to analyze it yourself, the idea should be clear (what functions do you need to do the message book, how to achieve it), you can also do a simple chat room after doing the message book, a simple bbs forum, and finally a simple management system, etc., take your time, after doing this, you should learn almost asp.

Related questions
6 answers2024-08-06

Tools Raw materials.

**。Security Alliance. >>>More

4 answers2024-08-06

dim rs,sql,filename,fs,myfile,objspreadsheet,x

set fs = "") >>>More

7 answers2024-08-06

I think encouragement is important! You said that he didn't get good grades at first, but then he was willing to study hard! Then, you should encourage him more, tell him not to listen to other people's opinions, just work your own, and when the grades come down, we can see the results, and every sentence has many aspects, such as "many people think that it is impossible for him to transform into a good student" This makes him feel a little inferior, but, why can't it be seen as a motivation? ? >>>More

26 answers2024-08-06

You can have a good talk with her, put the problems between you now, and discuss a solution together, marriage needs the wholehearted love of two people to maintain, tolerance and accommodation should also be mutual, otherwise it is easy to have problems, I think if she still loves you very much, cares about you very much, and wants to form a happy little family with you, she will change for your bright future!

8 answers2024-08-06

What do you want? Is your sister-in-law happy? I think your parents are sensible people! Talk to them more! If you have to care about this kind of thing, then it is estimated that there will be many things that are not pleasing to the eye in the future!