cheap nfl jerseys china cheap nfl jerseys free shipping wholesale nfl jerseys china wholesale jerseys from china cheap nfl jerseys free shipping cheap nfl jerseys for sale cheap jerseys free shipping wholesale nfl jerseys from china cheap nfl jerseys sale cheap nike nfl jerseys china wholesale jerseys free shipping cheap nfl jerseys wholesale wholesale nfl jerseys online cheap nfl jerseys wholesale china jerseys wholesale cheap coach handbags outlet authentic designer handbags cheap coach handbags outlet cheap coach purses outlet discount coach bags coach bags sale coach purse outlet cheap real coach purses coach handbags sale online coach purse outlet michael kors outlet online store cheap michael kors bags cheap michael kors purse michael kors factory outlet online cheap michael kors handbags cheap michael kors purses michael kors bags outlet online cheap michael kors purse michael kors handbags discount

Seminario introduttivo

1999 Roberto Anzellotti  - CASPUR

Interrogazione di Basi Dati tramite IDC/HTX

Quella che segue � una tipica interrogazione dati fatta tramite IDC. Della tabella SQL_Elenco vengono richiesti tutti i campi generando poi una pagina HTML.
I Dati vengono richiesti tramite il seguente IDC contenente le informazioni del database e la SELECT da effettuare.

Datasource: Universo
Username: web
Template: sql_elenco.htx
SQLStatement:
+ SELECT Codice, Prefisso, Contenuto
+ FROM SQL_Elenco;

Il file HTX contiene la formattazione del testo da visualizzare:

<HTML>
<BODY BACKGROUND="/sfondi/Image2.jpg" BGCOLOR="WHITE" VLINK="#646464" TEXT="GREEN" LINK="#C850C8">

<CENTER>
<B><FONT FACE="Comic Sans MS" SIZE=5 COLOR="#6464FF">Stampa di prova Tabella SQL_Elenco</FONT></B><P>

<TABLE BORDER=4>
<TR>
<TD bgcolor=silver><FONT COLOR="red"><B>CODICE</TD>
<TD bgcolor=silver>PREFISSO</TD>
<TD bgcolor=silver>CONTENUTO</TD>
</TR>

<%BEGINDETAIL%>
<TR><TD>
<FONT COLOR="red"><B><%Codice%></TD>
<TD><%Prefisso%></TD>
<TD><%Contenuto%></TD>
</TR>
<%ENDDETAIL%>

</TABLE><P>

</center></BODY>
</HTML>

Clicca qu� per vedere il risultato dell'elaborazione

Pagina precedente

Indice

Pagina successiva