Scrapbook/개발 및 프로그래밍
ASP에서 엑셀로 결과값 출력하기
가을이짱짱
2007. 4. 17. 17:49
반응형
예전에 사용했었는데
팀원이 물어봐서 다시 찾아서 알려줌~
필요로 하는 사람은 유용한 Tip일듯.
<%
filename = "result_"&date()
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-disposition","attachment;filename=" & filename & ".xls" '저장하고자 하는 파일명
Response.write "111 222 333 444" ' 탭으로 구분하였음
Response.write "111 222 333 444"
Response.write "111 222 333 444"
Response.write "111 222 333 444"
%>
filename = "result_"&date()
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-disposition","attachment;filename=" & filename & ".xls" '저장하고자 하는 파일명
Response.write "111 222 333 444" ' 탭으로 구분하였음
Response.write "111 222 333 444"
Response.write "111 222 333 444"
Response.write "111 222 333 444"
%>
반응형