Is there a way for ASP to replace loops?

Updated on healthy 2024-04-08
14 answers
  1. Anonymous users2024-02-07

    Instead of looping? What do you mean?

    Originally, asp had a loop, huh? In lieu of?

    The stored procedure of SQL is to define a small program and put it in the database, in fact, it is similar to putting it in a program.

    It's just that it's a little faster, the performance is improved, it's safer, and it's more convenient, and you can view the relevant knowledge.

    Since you are going to use the loop, then it is impossible to replace the order of the loop to choose the most basic How can you replace it

    1。Create (contains 2 parameters).

    create procedure abc_infoname char(8),@cname char(16)asselect a.Student number, name, grades, credits.

    from student form a insert join student report card bon aStudent ID = bStudent ID.

    where a.Name=@name and bCourse name = @cnamego2Invoke.

    execute abc_info 'Zhang Qiang','Computer Fundamentals'

    execute abc_info @cname='Computer Fundamentals',@name='Zhang Qiang'

  2. Anonymous users2024-02-06

    Why replace loops? Pretty good, huh?

  3. Anonymous users2024-02-05

    I agree with the above! No substitution! That's good!

  4. Anonymous users2024-02-04

    What is the relationship between your ID and SID, and how are things that don't matter how they are connected.

  5. Anonymous users2024-02-03

    Your 1 is obtained by querying the database through the function getinfolist, and you need to post the getinfolist function to know the specific situation inside.

    From you this statement.

    , I learned that the SQL statements you queried the database were all the same, and the results were of course the same.

  6. Anonymous users2024-02-02

    i is automatically incremented in the for statement!

  7. Anonymous users2024-02-01

    Your problem is a bit strange Now that you have set the increment i in the loop, it will automatically become a number from 1 to 9, and your ** function has been implemented, no need to modify, do not set the default step of step 1

    for i=1 to 9 step 2 is step 2

  8. Anonymous users2024-01-31

    <%do while not >

    Here is the individual piece of content to display.

    if j mod 2 =0 then 'If j is divisible by 2, then the line break % >

    end if%>

    j=j+1loop

  9. Anonymous users2024-01-30

    shuzi=0 'To give shuzi a value first, or the first time shuzi=shuzi+1 equals null'

    zhuzi=0

    jsshuzi=10

    do while shuzi<=jsshuzi 'The shuzi here is an empty string'

    'So for the first time the output here is a blank line'

    shuzi=shuzi+1loop

  10. Anonymous users2024-01-29

    What you define is zhuzi. Shuzi when looping.

  11. Anonymous users2024-01-28

    Die. ASP doesn't have such a powerful feature.

    Find a way to solve this problem in other ways.

  12. Anonymous users2024-01-27

    30 seconds auto-refresh.

    Expand on your own.

  13. Anonymous users2024-01-26

    case syntax.

  14. Anonymous users2024-01-25

    <%do while not >

    The data read.

    loop><%for i=1 to 8%>

    =i%> If you don't want to read the data, you can also use for<%next

Related questions
15 answers2024-04-08

There is no absolute personality introvert or extrovert. Don't be so sure you're an introvert. >>>More

8 answers2024-04-08

Here are 9 self-test questions that can help you detect cauda equina nerve damage early and gain the best opportunity. If you answer "yes" to more than 3 questions, it is recommended to see a doctor immediately, have relevant tests to determine whether the nerve is compressed, and follow the doctor's instructions**. >>>More

4 answers2024-04-08

Hello! Your visit to a plank specialist for inspection.

6 answers2024-04-08

The best and most healthy and effective thing is to eat more vegetables! The following couples are often eaten in summer, haha......Tomatoes: This is the best food for sun protection. >>>More

3 answers2024-04-08

Dear, I am glad to serve you, and you can enhance your physique by adjusting your lifestyle and eating habits, exercising appropriately, etc. Specifically, the following points are made. >>>More