<% dim comandosql,titolo,lnSezTot,lnSezTmp,lnPercSez,lnPercSezReg,RSdataora,RSelezioni,data,ora dim lnSezTotReg,lnSezTmpReg Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "dsn=risult" Set Rsezioni = Server.CreateObject ("ADODB.RecordSet") Rsezioni.ActiveConnection = Conn Rsezioni.CursorType = adOpenStatic Rsezioni.Source = "select * from scrutiniosezpref" Rsezioni.Open() lnSezTot = "" lnSezTmp = "" lnPercSez = "" lnSezTot = Rsezioni("seztot") lnSezTmp = Rsezioni("seztmp") lnPercSez = Rsezioni("percsez") Rsezioni.close Set RSelezioni= Server.CreateObject ("ADODB.RecordSet") RSelezioni.ActiveConnection = Conn RSelezioni.CursorType = adOpenStatic RSelezioni.Source = "select * from voticand" RSelezioni.Open() 'if RSelezioni.recordcount = -1 then ' response.write "NON CI SONO DATI DA VISUALIZZARE" ' response.end 'end if RSelezioni.close() %>
<% RSelezioni.Source = "select * from voticand where ridlista = 1" RSelezioni.Open() %> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%> <%RSelezioni.close%>

PREFETTURA DI VARESE - ELEZIONI REGIONALI 2005 - VOTI DI PREFERENZA
SEZIONI SCRUTINATE <%=lnPercSez%> % (<%=lnSezTmp%> SU <%=lnSezTot%>)

LISTA 1

<%=Rselezioni("totale")%>

(totale)

FERRAZZI LUCA

BASILE GIUSEPPE

MARTEGANI ROBERTO

NICOLETTI ALESSIO

NIDOLI SARAH

TAGLIABUE ROBERTO

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

<%RSelezioni.close%>

LISTA 8

<% RSelezioni.Source = "select * from voticand where ridlista = 8" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

BONACCI FRANCO

CASTELLI MANLIO

CIRAOLO NICOLA

D'ALESSANDRO GIANCARLO

TADDEO ALDO

TROTTA ANTONINO

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

<%RSelezioni.close%>

LISTA 2

<% RSelezioni.Source = "select * from voticand where ridlista = 2" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

 (totale)

MELANDRI ENNIO

ALBO PASQUALE

BOTTINELLI GUIDO

CAVALIERI GIUSEPPINA

TODESCHINI GIANFRANCO

VENTURELLI ROBERTO

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 9

<% RSelezioni.Source = "select * from voticand where ridlista = 9" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

FONTANA ATTILIO

RIZZI FABIO

RUFFINELLI LUCIANA MARIA

SCREMIN ANTONELLA

TREZZI SERGIO

USLENGHI DOMENICO

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 3

<% RSelezioni.Source = "select * from voticand where ridlista = 3" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

MARTINA GIOVANNI

AGOSTINELLI MARIO

BORETTI BIANCA

CASSANI PAOLO

CATTANEO CARLO

CHIARAVALLOTTI FRANCESCO

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 10

<% RSelezioni.Source = "select * from voticand where ridlista = 10" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

BUSCEMI MASSIMO

FARIOLI GIANLUIGI

VALENTINI PUCCITELLI PAOLO

BESACCHI ANTONIO

GUADAGNI LUIGI PAOLO FILIPPO

LO CELSO MASSIMO

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 4

<% RSelezioni.Source = "select * from voticand where ridlista = 4" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

COLOMBO ANTONELLO

FARINELLI GIUSEPPE

MANCINI GIANNI

PATRINI LUIGI

ROSSI PIERO ANGELO

SIMIONATO ADRIANA

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 11

<% RSelezioni.Source = "select * from voticand where ridlista = 11" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

MILANI ALESSANDRO

SONVICO GIULIANO

CAVALLERO DANILO

BENELLI REMIGIO

CHERT WALTER

SALVIA ANGELA

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 5

<% RSelezioni.Source = "select * from voticand where ridlista = 5" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

ADAMOLI GIUSEPPE

TOSI STEFANO NATALE

LUINI PIERO GIORGIO

DI PAOLO OVIDIO

BRESCIANI DONATELLA

MORRONE GIUSEPPE

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 12

<% RSelezioni.Source = "select * from voticand where ridlista = 12" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

STRADA ROBERTO

MINAZZI ALBERTO RENATO

DE FRANCESCHI CLAUDIO ATTILIO

MARATEA GIUSEPPE

SESSA MARIA DOLORES

TOGNOLI VALERIA

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 6

<% RSelezioni.Source = "select * from voticand where ridlista = 6" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

METRA SILVIA

PASCALE BRIGIDA

FERRARI PIETRO

FERONE MICHELE

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<%RSelezioni.close%>

LISTA 13

<% RSelezioni.Source = "select * from voticand where ridlista = 13" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

BIANCARDI ADRIANO

DI PALO ALBERTO

BELOTTI DANIELA

BIASI GIUSEPPE

 

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

LISTA 7

<% RSelezioni.Source = "select * from voticand where ridlista = 7" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

BOGNI SILVANO

LIGOTTI GIUSEPPE

PIRRONE BIAGIO

REDAELLI FRANCA

TAVOLA FEDERICO ENRICO

TROJA GIUSEPPE

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>

LISTA 14

<% RSelezioni.Source = "select * from voticand where ridlista = 14" RSelezioni.Open() %>

<%=Rselezioni("totale")%>

(totale)

FRATTINI DARIO

BERNUCCA RICCARDO MASSIMO

CANDIANI ALESSIO GIACOMO

CASTANO FABIO

OTTAVIANI ANGELO CLAUDIO

ROGORA MASSIMO

 

<% lcVoti = "" if Rselezioni("cand1") > 0 then lcVoti = Rselezioni("cand1") & " - " & Rselezioni("perc1") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand2") > 0 then lcVoti = Rselezioni("cand2") & " - " & Rselezioni("perc2") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand3") > 0 then lcVoti = Rselezioni("cand3") & " - " & Rselezioni("perc3") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand4") > 0 then lcVoti = Rselezioni("cand4") & " - " & Rselezioni("perc4") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand5") > 0 then lcVoti = Rselezioni("cand5") & " - " & Rselezioni("perc5") & "%" end if %>

<%=lcVoti%>

<% lcVoti = "" if Rselezioni("cand6") > 0 then lcVoti = Rselezioni("cand6") & " - " & Rselezioni("perc6") & "%" end if %>

<%=lcVoti%>