본문 바로가기

프로그램

ASP-excel저장

 asp 변수

set crs = Server.CreateObject("ADODB.RECORDSET")



ASP = >> Excel로 저장 설정

' Response.Buffer = True
' Response.ContentType="application/vnd.ms-excel"
' Response.CacheControl="public"
' Response.AddHeader "Content-Disposition","attachment;filename=test.xsl"


save_filename = request("tmp_tdate")
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment;filename="& save_filename & ".xls"

이 글은 스프링노트에서 작성되었습니다.