1
로 자동 맞춤이 여기 내 코드 -방법 포맷하려면 엑셀 열이 나는 엑셀 gridview에 수출하고 C#을
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", fileName));
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.Charset = "";
HttpContext.Current.Response.Write("<meta http-equiv=Content-Type content=\"text/html; charset=windows-1250\">\n");
HttpContext.Current.Response.Write("<html xmlns:o='urn:schemas-microsoft-com:office:office'\n" +
"xmlns:x='urn:schemas-microsoft-com:office:excel'\n" +
"xmlns='http://www.w3.org/TR/REC-html40'>\n" +
"<head>\n");
, 나는 열 자동 맞춤을 드릴 수 없습니다. Google에서 혼동스럽고 많은 검색을 시도했지만 문제가 남아 있습니다. 도움이 될 것입니다. 감사합니다