<%
Set cn=Server.CreateObject("ADODB.Connection")
cn.Open("Driver={SQL Server};Server=Server08;UID=user_web;PWD=724;Database=gvm")
SQL = "SELECT * FROM taiwan_trip_20080718"
set rs = cn.Execute(SQL)
A1=0:A2=0:A3=0:A4=0:A5=0:A6=0:A7=0:A8=0:A9=0:A10=0:A11=0:A12=0:A13=0:A14=0:A15=0:
B1=0:B2=0:B3=0:B4=0:B5=0:B6=0:B7=0:B8=0:B9=0:B10=0:B11=0:B12=0:B13=0:B14=0:B15=0:B16=0:B17=0:B18=0:B19=0:B20=0:B21=0:B22=0:B23=0
C1=0:C2=0:C3=0:C4=0:C5=0:C6=0:C7=0:C8=0:C9=0:C10=0
AAAA = ""
Do While not rs.eof
AAAA = trim(rs("Candidate"))
if (instr(AAAA,"A1") <> 0) and (LEN(CSTR(AAAA))=2) then A1 = rs("Candidate_Count") end if
if (instr(AAAA,"A2") <> 0) and (LEN(CSTR(AAAA))=2) then A2 = rs("Candidate_Count") end if
if (instr(AAAA,"A3") <> 0) and (LEN(CSTR(AAAA))=2) then A3 = rs("Candidate_Count") end if
if (instr(AAAA,"A4") <> 0) and (LEN(CSTR(AAAA))=2) then A4 = rs("Candidate_Count") end if
if (instr(AAAA,"A5") <> 0) and (LEN(CSTR(AAAA))=2) then A5 = rs("Candidate_Count") end if
if (instr(AAAA,"A6") <> 0) and (LEN(CSTR(AAAA))=2) then A6 = rs("Candidate_Count") end if
if (instr(AAAA,"A7") <> 0) and (LEN(CSTR(AAAA))=2) then A7 = rs("Candidate_Count") end if
if (instr(AAAA,"A8") <> 0) and (LEN(CSTR(AAAA))=2) then A8 = rs("Candidate_Count") end if
if (instr(AAAA,"A9") <> 0) and (LEN(CSTR(AAAA))=2) then A9 = rs("Candidate_Count") end if
if (instr(AAAA,"A10") <> 0) and (LEN(CSTR(AAAA))=3) then A10 = rs("Candidate_Count") end if
if (instr(AAAA,"A11") <> 0) and (LEN(CSTR(AAAA))=3) then A11 = rs("Candidate_Count") end if
if (instr(AAAA,"A12") <> 0) and (LEN(CSTR(AAAA))=3) then A12 = rs("Candidate_Count") end if
if (instr(AAAA,"A13") <> 0) and (LEN(CSTR(AAAA))=3) then A13 = rs("Candidate_Count") end if
if (instr(AAAA,"A14") <> 0) and (LEN(CSTR(AAAA))=3) then A14 = rs("Candidate_Count") end if
if (instr(AAAA,"A15") <> 0) and (LEN(CSTR(AAAA))=3) then A15 = rs("Candidate_Count") end if
if (instr(AAAA,"B1") <> 0) and (LEN(AAAA)=2) then B1 = rs("Candidate_Count") end if
if (instr(AAAA,"B2") <> 0) and (LEN(AAAA)=2) then B2 = rs("Candidate_Count") end if
if (instr(AAAA,"B3") <> 0) and (LEN(AAAA)=2) then B3 = rs("Candidate_Count") end if
if (instr(AAAA,"B4") <> 0) and (LEN(AAAA)=2) then B4 = rs("Candidate_Count") end if
if (instr(AAAA,"B5") <> 0) and (LEN(AAAA)=2) then B5 = rs("Candidate_Count") end if
if (instr(AAAA,"B6") <> 0) and (LEN(AAAA)=2) then B6 = rs("Candidate_Count") end if
if (instr(AAAA,"B7") <> 0) and (LEN(AAAA)=2) then B7 = rs("Candidate_Count") end if
if (instr(AAAA,"B8") <> 0) and (LEN(AAAA)=2) then B8 = rs("Candidate_Count") end if
if (instr(AAAA,"B9") <> 0) and (LEN(AAAA)=2) then B9 = rs("Candidate_Count") end if
if (instr(AAAA,"B10") <> 0) and (LEN(AAAA)=3) then B10 = rs("Candidate_Count") end if
if (instr(AAAA,"B11") <> 0) and (LEN(AAAA)=3) then B11 = rs("Candidate_Count") end if
if (instr(AAAA,"B12") <> 0) and (LEN(AAAA)=3) then B12 = rs("Candidate_Count") end if
if (instr(AAAA,"B13") <> 0) and (LEN(AAAA)=3) then B13 = rs("Candidate_Count") end if
if (instr(AAAA,"B14") <> 0) and (LEN(AAAA)=3) then B14 = rs("Candidate_Count") end if
if (instr(AAAA,"B15") <> 0) and (LEN(AAAA)=3) then B15 = rs("Candidate_Count") end if
if (instr(AAAA,"B16") <> 0) and (LEN(AAAA)=3) then B16 = rs("Candidate_Count") end if
if (instr(AAAA,"B17") <> 0) and (LEN(AAAA)=3) then B17 = rs("Candidate_Count") end if
if (instr(AAAA,"B18") <> 0) and (LEN(AAAA)=3) then B18 = rs("Candidate_Count") end if
if (instr(AAAA,"B19") <> 0) and (LEN(AAAA)=3) then B19 = rs("Candidate_Count") end if
if (instr(AAAA,"B20") <> 0) and (LEN(AAAA)=3) then B20 = rs("Candidate_Count") end if
if (instr(AAAA,"B21") <> 0) and (LEN(AAAA)=3) then B21 = rs("Candidate_Count") end if
if (instr(AAAA,"B22") <> 0) and (LEN(AAAA)=3) then B22 = rs("Candidate_Count") end if
if (instr(AAAA,"B23") <> 0) and (LEN(AAAA)=3) then B23 = rs("Candidate_Count") end if
if (instr(AAAA,"C1") <> 0) and (LEN(AAAA)=2) then C1 = rs("Candidate_Count") end if
if (instr(AAAA,"C2") <> 0) and (LEN(AAAA)=2) then C2 = rs("Candidate_Count") end if
if (instr(AAAA,"C3") <> 0) and (LEN(AAAA)=2) then C3 = rs("Candidate_Count") end if
if (instr(AAAA,"C4") <> 0) and (LEN(AAAA)=2) then C4 = rs("Candidate_Count") end if
if (instr(AAAA,"C5") <> 0) and (LEN(AAAA)=2) then C5 = rs("Candidate_Count") end if
if (instr(AAAA,"C6") <> 0) and (LEN(AAAA)=2) then C6 = rs("Candidate_Count") end if
if (instr(AAAA,"C7") <> 0) and (LEN(AAAA)=2) then C7 = rs("Candidate_Count") end if
if (instr(AAAA,"C8") <> 0) and (LEN(AAAA)=2) then C8 = rs("Candidate_Count") end if
if (instr(AAAA,"C9") <> 0) and (LEN(AAAA)=2) then C9 = rs("Candidate_Count") end if
if (instr(AAAA,"C10") <> 0) and (LEN(AAAA)=3) then C10 = rs("Candidate_Count") end if
rs.movenext
loop
%>
<%
rs.close
cn.close
set rs = nothing
set cn = nothing
'RESPONSE.END
%>
��自然風景類(可複選,至多3項)
基隆市
和平島公園<%=A12%>票
台北縣
烏來風景特定區<%=A3%>票
台中縣
谷關特定風景區<%=A8%>票
南投縣
日月潭國家風景區<%=A5%>票
彰化縣
八卦山風景區<%=A13%>票
嘉義縣
阿里山森林遊樂區<%=A1%>票
嘉義市
蘭潭風景區<%=A11%>票
台南縣
關子嶺風景區<%=A14%>票
台南縣
尖山埤江南渡假村<%=A15%>票
高雄縣
澄清湖風景區<%=A10%>票
屏東縣
墾丁國家公園<%=A7%>票
屏東縣
琉球<%=A9%>票
宜蘭縣
太平山國家森林遊樂區<%=A4%>票
花蓮縣
太魯閣國家公園<%=A2%>票
台東縣
綠島<%=A6%>票
��人文歷史類(可複選,至多3項)
台北縣
金瓜石暨九份地區<%=B3%>票
台北市
國立故宮博物院<%=B1%>票
桃園縣
兩蔣文化園區<%=B2%>票
桃園縣
忠烈祠<%=B11%>票
新竹市
玻璃工藝博物館<%=B8%>票
新竹縣
北埔老街<%=B19%>票
苗栗縣
三義木雕博物館<%=B5%>票
台中市
國立自然科學博物館<%=B18%>票
台中縣
大甲鎮瀾宮<%=B21%>票
彰化縣
鹿港古蹟文化保存區<%=B6%>票
雲林縣
北港朝天宮<%=B16%>票
南投縣
九族文化村<%=B14%>票
台南市
安平古堡<%=B7%>票
台南市
億載金城<%=B10%>票
高雄市
打狗英國領事館<%=B9%>票
高雄縣
佛光山<%=B17%>票
宜蘭縣
國立傳統藝術中心<%=B4%>票
連江縣
芹壁聚落<%=B20%>票
連江縣
北海遊憩區<%=B22%>票
金門縣
莒光樓<%=B12%>票
金門縣
水頭聚落<%=B15%>票
澎湖縣
二崁傳統聚落<%=B13%>票
澎湖縣
中央老街區<%=B23%>票
��觀光商圈類(可複選,至多3項)
基隆市
基隆廟口<%=C8%>票
台北市
台北101觀景臺<%=C1%>票
新竹市
城隍廟廟口小吃圈<%=C7%>票
新竹縣
內灣魅力商圈<%=C3%>票
苗栗縣
草莓文化園區<%=C9%>票
台中市
美術園道<%=C5%>票
雲林縣
劍湖山世界主題遊樂園<%=C6%>票
嘉義縣
奮起湖<%=C4%>票
高雄市
夢時代購物中心<%=C2%>票
台東縣
知本溫泉商圈<%=C10%>票
讀者服務部電話:(02)26620012 時間:週一∼週五 9:00-17:00 服務信箱:30@cwgv.com.tw
Copyright 1999~2007 天下遠見出版股份有限公司. All rights reserved.