cs 단에가서 




Response.ContentType = "application/vnd.ms-excel";

            Response.AddHeader("Content-disposition", string.Format("attachment;filename={0}_{1}.xls", Server.UrlPathEncode("파일명"), DateTime.Now.ToString("yyyy-MM-dd")));


이라고 적어준다.
 
 
Posted by motolies
,