Ask a master to help write an asp judgment statement

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

    The following ** I wrote for you can accomplish such a function, but the specific content needs to be added by yourself, and you have to know a little HTML to do it:

    showid=request("showid")id1=request("id1")

    id2=request("id2")

    id3=request("id3")

    id4=request("id4")

    Fixed content section ("&showid&"Here it is"

    Enter the content of your showid here.

    if id1<>"" then

    The part of id1 is now displayed ("&id1&")"

    Enter the contents of your ID1 here.

    end if

    if id2<>"" then

    The part of id1 is now displayed ("&id2&")"

    Enter the contents of your ID2 here.

    end if

    if id3<>"" then

    The part of id1 is now displayed ("&id3&")"

    Enter the content of your ID3 here.

    end if

    if id4<>"" then

    The part of id1 is now displayed ("&id4&")"

    Enter the contents of your ID4 here.

    end if

  2. Anonymous users2024-02-06

    You can use stored procedures

    Call substring to fetch four-bit segments

    Then use case when to combine the values

  3. Anonymous users2024-02-05

    function getfile()

    getfile="url")

    getfile=right(getfile,len(getfile)-1)

    end function

    The getfile function can get the file name of the current page.

    So the judgment statement is as follows (if the homepage file name is:

    if getfile="" then

    on"end if

  4. Anonymous users2024-02-04

    if rs("times")>2 or rs("Credits")>10000 then

    level='Warm'

    if rs("times")>7 or rs("Credits")>30000 then

    level='White gold'

    if rs("times")>17 or rs("Credits")>200000 then

    level='Diamonds'

    end if

    end if

    end if

    level 'Test card-level results.

  5. Anonymous users2024-02-03

    Let's assume that the number of stays field is named livein and the points field is named scoreif rs("livein")>2 or rs("score")>10000 then

    level='Warm'

    if rs("livein")>7 or rs("score")>30000 then

    level='White gold'

    if rs("livein")>17 or rs("score")>200000then

    level='Diamonds'

    end if

    end if

    end if

    If you need to update the database in real time, you can perform an update operation here.

  6. Anonymous users2024-02-02

    Use a judgment statement.

    aa, the variable that comes up from querying the database, is your a field, if aa=getdocnamebyid(adors2("document"))

    end if

  7. Anonymous users2024-02-01

    This is a function judgment written by someone else!

    You can use ternions.

    return ( 4) ?alert('Please enter at least 2 kanji') false

Related questions
5 answers2024-04-06

A funny thing happened to me last Friday. I'm going shopping in London. I want to buy some Christmas presents, I need to find some books related to my classes at the university (you know, I'm a student). >>>More

28 answers2024-04-06

You misunderstand the ratio here.

Division. meaning. >>>More

5 answers2024-04-06

For the computer industry, master is a very ethereal word. It's easy to use a computer, but it's not easy to be a computer master. Just go up and take a look, or buy two computer newspapers, read system files, play the registry, install the computer, network, upgrade, not to mention a month, that is, a year and ten years, and you are still nothing. >>>More

8 answers2024-04-06

You can use the "Interval Statistics" function. In the **figure, move the cursor to 2319 points**, hold the right button, and then pull the cursor to aim at 3186 points**, a rectangular box will be pulled, as soon as you let go, it will prompt you "interval statistics", click on it, and the result will pop up, not only telling you that there are 87 numbers in this range, but also a lot of information. If the time span is used, it should be reduced by one, that is, 86 trading days have passed. >>>More