Power By I-WEB S.r.l.
DATABASE

  Lezioni

  Access e Internet

ASP

  Introduzione

  Lezioni

  Build Asp page

 
MANUALI SCARICABILI

  Manuale Access

  Manuale Asp

 
COMUNITA'/CHAT

  Comunità virtuale

  Chat


 

PAGINE ASP
Periodico n. 2- Febbraio 1999

Indice

Cicli condizionali
Function e sub-function - manipolazione di date
Variabili del server
Ms Acess Database

Cicli condizionali

La sintassi di questi "operatori" è molto semplice e intuitiva per chi è solito operare con un linguaggio di programmazione, non mi dilungherò quindi nelle spiegazioni, potete approfondire a riguardo qualsiasi manuale di programmazione.

- If Then Else -

<CODE> If (condition) Then
    'some code
Else
    'some other code
End If

- If Then ElseIf -

<CODE> If a = "1" Then
    'do this
Else If a = "2" Then
    'do this
Else If a = "3" Then
    'do this
Else If a = "4" Then
    'do this
End If
End If
End If
End If

- Case Select -

<CODE> Select Case a
    Case "1"
        'do this
    Case "2"
        'do this
    Case "3"
        'do this
    Case "4"
        'do this
End Select
</CODE>

- For Next -

<CODE>
For CounterVar = FromCount to EndCount
    
'what you want to do
Next

- Do Loop -

<CODE>
i = 0
Do While i < 5
     Response.Write("i=" & i & "<br>")
     i = i + 1
Loop

- While Wend -

<CODE>
While NOT RS.EOF
     Response.Write("Name = " & RS("lname") & ", " & RS("lname") & "<br>")
     RS.MoveNext
WEnd
</CODE>

By: Jared Stauffer

Prosegui...

Indice

Cicli condizionali
Function e sub-function - manipolazione di date
Variabili del server
Ms Acess Database




 

   ARTICOLI & VIAGGI
  Articoli

  Viaggi & Foto
 
   DICONO DI NOI
  Ecco quello che dicono di noi...
 
   SONDAGGIO
  Vota subito!
 
   ISCRIVITI GRATIS ALLA NEWSLETTER
Iscriviti ora!

© 2002

 by I-Web S.r.l. All rights reserved.

Website Design by I-Web S.rl.