엑셀내보내기 기능은 잘되나 단점은 스프레드 시트 생성 기능은 지원 안 하며
Linq To SQL(dbml) 을 사용 하도록 구현 되어 있음.
DataTable 이나 Entity base 모델로 구현되어 있다면 가볍게 패스~
출처 : http://code-inside.de/blog/2010/01/29/howto-excel-export-mit-asp-net-mvc-und-render-view-to-string/
'MVC3'에 해당되는 글 8건
- 2011.07.08 HowTo: Excel Export mit ASP.NET MVC und "Render View To String"
- 2011.07.08 JavaScriptSerializer.MaxJsonLength Property
- 2011.07.08 Custom JsonResult Class for ASP.Net MVC to Avoid MaxJsonLength Exceeded Exception
- 2011.07.08 Writing A Custom File Download Action Result For ASP.NET MVC
- 2011.07.08 File Uploader in ASP.NET and ASP.NET MVC
- 2011.07.08 ASP.NET MVC FileUpload 코드 샘플
- 2011.07.08 ASP.NET MVC POST, GET 형태로 매개변수 받아 처리하기
- 2011.07.08 Using ASP.NET MVC and the OpenXML API to Stream Excel Files
JavaScriptSerializer.MaxJsonLength PropertyGets or sets the maximum length of JSON strings that are accepted by the JavaScriptSerializer class. Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The value of the MaxJsonLength property applies only when you explicitly create an instance of the JavaScriptSerializer class. Use the jsonSerialization element of the configuration file to set the maximum length for the internal serializer instance that is used by the asynchronous communication layer. For more information about the configuration elements for serialization, see How to: Configure ASP.NET Services in Microsoft Ajax. Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2 The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements. |
Server Error in ‘/’ Application.
|
처음 이 에러를 만났을 때... 아.. 큰일이다 싶었는데, 해결 하고 나니 후련하다. ㅎㅎ
일반적인 상황에선 데이터 초과할 일이 없겠으나, 한 페이지에 대량의 데이터를 불러오는 경우
웹 사이트의 web.config 를 뒤져서 직접 수정 해도 되겠으나
프로젝트 내에 구현 하는 것이 여러모로 정신 건강에 도움이 됨.. ^^
출처 : http://brianreiter.org/2011/01/03/custom-jsonresult-class-for-asp-net-mvc-to-avoid-maxjsonlength-exceeded-exception/
ASP.NET MVC 환경에서 데이터를 엑셀 형태로 내보내기 (스프레드 시트 생성 지원)
http://www.codeproject.com/KB/aspnet/Streaming_Excel_ASP_NET.aspx