작성일 : 12-02-08 14:45
|
[ASP] 엑셀파일 출력하고 싶을때
|
|
|
글쓴이 :
조형래
 조회 : 1,963
|
View 페이지 부분 상단에 아래 부분만 추가하면 됨
Server.ScriptTimeout = 90000 '혹시나 모를 경우를 대비해서
'엑셀 파일을 만들기 위한 헤더 정보 생성
Response.AddHeader "Content-Disposition", "attachment;filename=Deliver_List(backpack-"&now()&").xls"
Response.ContentType = "application/vnd.ms-excel"
|
|