cs 단에가서
이라고 적어준다.
Response.ContentType = "application/vnd.ms-excel";
이라고 적어준다.