aspµ¼³öexcelÒ»
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%response.ContentType ="application/vnd.ms-excel"
%>
<%
Set xlApplication = Server.CreateObject("Excel.Application") 'µ÷ÓÃexcel¶ÔÏó
xlApplication.Visible = False 'ÎÞÐè´ò¿ªexcel
xlApplication.SheetsInNewWorkbook=1 'Ö¸¶¨excelÖбíµÄÊýÁ¿
xlApplication.Workbooks.Add 'Ìí¼Ó¹¤×÷²¾
Set xlWorksheet = xlApplication.Worksheets(1) 'Éú³ÉµÚ1¸ö¹¤×÷±íµÄ×Ó¶ÔÏó
xlWorksheet.name="ͳ¼Æ" 'Ö¸¶¨¹¤×÷±íÃû³Æ
'Ö¸¶¨ÁеĿí¶ÈÒÔ¼°¶ÔÆë·½Ê½
xlApplication.ActiveSheet.Columns(1).ColumnWidth=5
xlApplication.ActiveSheet.Columns(1).HorizontalAlignment=3
xlApplication.ActiveSheet.Columns(2).ColumnWidth=40
xlApplication.ActiveSheet.Columns(2).HorizontalAlignment=1
xlApplication.ActiveSheet.Columns(3).ColumnWidth=5
xlApplication.ActiveSheet.Columns(3).HorizontalAlignment=3
xlApplication.ActiveSheet.Columns(4).ColumnWidth=15
xlApplication.ActiveSheet.Columns(4).HorizontalAlignment=1
xlApplication.ActiveSheet.Columns(5).ColumnWidth=12
xlApplication.ActiveSheet.Columns(5).HorizontalAlignment=1
xlApplication.ActiveSheet.Columns(6).ColumnWidth=12
xlApplication.ActiveSheet.Columns(6).HorizontalAlignment=3
'xlApplication.ActiveSheet.Rows(i).RowHeight = 30'Ðеĸ߶È
'Ö¸¶¨Áеĸ߶ÈÒÔ¼°Ìض¨ÁÐ
xlWorksheet.Range(xlWorksheet.Cells(1,1), xlWorksheet.Cells(1,6)).MergeCells =True 'ºÏ²¢ÁÐ
xlWorksheet.Range("A1").value="2005Äêͳ¼Æ"
xlWorksheet.Range("A1").font.Size=14'×ÖÌå´óС
xlWorksheet.Range("A1").font.bold=true'´ÖÌå
xlWorksheet.Range("A1").HorizontalAlignment=3'ˮƽ¶ÔÆë
xlWorksheet.Range("A1").VerticalAlignment=3'´¹Ö±¶ÔÆë
xlWorksheet.Cells(2,1).Value = "ÐòºÅ"
xlWorksheet.Cells(2,2).Value = "±êÌâ"
xlWorksheet.Cells(2,3).Value = "ͼ"
xlWorksheet.Cells(2,4).Value = "²¿ÃÅ"
xlWorksheet.Cells(2,5).Value = "×÷Õß"
xlWorksheet.Cells(2,6).Value = "ʱ¼ä"
xlWorksheet.Range("A2:F2").Borders.LineStyle=1
'--------------------------------------------------×Ô¼º¿É×öÑ»·i=i+1£¨Êý¾Ý¿âÊý¾Ý£©
'xlWorksheet.Cells(2
Ïà¹ØÎĵµ£º
'ÅжÏÊÇ·ñÊÇÊý×Ö£¨°üÀ¨ÕûÊýºÍ¸¡µãÊý£©
function IsNumber(str)
if RegPatrn("^-?[1-9]\d*$",str) or RegPatrn("^-?([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0)$",str) then
IsNumber=true
else
IsNumber=false
end if
end function
'ÕýÔò±í´ïʽÅжÏÊÇ·ñÆ¥Åä
Function RegPatrn(patrn, strng)
RegPatrn = false
Di ......
ASPÓëJSPµÄ±È½Ï
´Ó΢ÈíÍÆ³öÁËASP(ActiveServerPage)ºó£¬ËüÒÔÆäÇ¿´óµÄ¹¦ÄÜ£¬¼òµ¥Ò×ѧµÄÌØµã¶øÊܵ½¹ã´óWEB¿ª·¢ÈËÔ±µÄϲ»¶¡£µ«ÊÇËüÈ´ÓÐ΢Èí²úÆ·µÄͨ²¡,Ö»ÄÜÔÚWindowsƽ̨ÏÂʹÓã¬ËäÈ»Ëü¿ÉÒÔͨ¹ýÔö¼Ó¿Ø¼þ¶øÔÚLINUXÏÂʹÓ㬵«ÊÇÆä¹¦ÄÜ×îÇ¿´óµÄDCOM¿Ø¼þÈ´²»ÄÜʹÓ᣶øSUN¹«Ë¾ÔÚJAVAµÄ»ù´¡Ï¿ª·¢³öµÄJSP(Java ServerPages)ʵÏÖÁ˶ ......
<%'¿ªÊ¼·ÖÒ³
Const MaxPerPage=25
dim totalPut
dim CurrentPage
dim TotalPages
dim j
  ......
<style type="text/css">
.container, .container *{margin:0; padding:0;}
.container{width:325px; height:287px; overflow:hidden;position:relative; margin-left:5px; margin-top:6px;}
.slider{position:absolute;}
.slider li{ list-style:none;display:inline;}
.slider img{ width:325px; height:287p ......