├── .gitattributes ├── .gitignore ├── ExportToExcel.sln ├── ExportToExcel ├── App_Start │ └── RouteConfig.cs ├── Content │ ├── Site.css │ ├── bootstrap.css │ └── bootstrap.min.css ├── Controllers │ └── HomeController.cs ├── ExportToExcel.csproj ├── Global.asax ├── Global.asax.cs ├── Models │ ├── ExcelExportHelper.cs │ ├── StaticDataOfStudent.cs │ ├── Student.cs │ └── StudentViewModel.cs ├── Properties │ └── AssemblyInfo.cs ├── Scripts │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── jquery-1.10.2.intellisense.js │ ├── jquery-1.10.2.js │ ├── jquery-1.10.2.min.js │ ├── jquery-1.10.2.min.map │ └── modernizr-2.6.2.js ├── Views │ ├── Home │ │ └── Index.cshtml │ ├── Shared │ │ └── _Layout.cshtml │ ├── _ViewStart.cshtml │ └── web.config ├── Web.Debug.config ├── Web.Release.config ├── Web.config ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff └── packages.config └── packages ├── EPPlus.4.1.0 ├── EPPlus.4.1.0.nupkg └── lib │ ├── net35 │ ├── EPPlus.XML │ └── EPPlus.dll │ ├── net40 │ ├── EPPlus.XML │ └── EPPlus.dll │ └── readme.txt ├── Microsoft.AspNet.Mvc.5.1.2 ├── Content │ ├── Web.config.install.xdt │ └── Web.config.uninstall.xdt ├── Microsoft.AspNet.Mvc.5.1.2.nupkg └── lib │ └── net45 │ ├── System.Web.Mvc.dll │ ├── System.Web.Mvc.xml │ └── zh-Hans │ ├── System.Web.Mvc.resources.dll │ └── System.Web.Mvc.xml ├── Microsoft.AspNet.Mvc.zh-Hans.5.1.2 ├── Microsoft.AspNet.Mvc.zh-Hans.5.1.2.nupkg └── lib │ └── net45 │ └── zh-Hans │ ├── System.Web.Mvc.resources.dll │ └── System.Web.Mvc.xml ├── Microsoft.AspNet.Razor.3.1.2 ├── Microsoft.AspNet.Razor.3.1.2.nupkg └── lib │ └── net45 │ ├── System.Web.Razor.dll │ ├── System.Web.Razor.xml │ └── zh-Hans │ ├── System.Web.Razor.resources.dll │ └── system.web.razor.xml ├── Microsoft.AspNet.Razor.zh-Hans.3.1.2 ├── Microsoft.AspNet.Razor.zh-Hans.3.1.2.nupkg └── lib │ └── net45 │ └── zh-Hans │ ├── System.Web.Razor.resources.dll │ └── system.web.razor.xml ├── Microsoft.AspNet.WebPages.3.1.2 ├── Content │ ├── Web.config.install.xdt │ └── Web.config.uninstall.xdt ├── Microsoft.AspNet.WebPages.3.1.2.nupkg └── lib │ └── net45 │ ├── System.Web.Helpers.dll │ ├── System.Web.Helpers.xml │ ├── System.Web.WebPages.Deployment.dll │ ├── System.Web.WebPages.Deployment.xml │ ├── System.Web.WebPages.Razor.dll │ ├── System.Web.WebPages.Razor.xml │ ├── System.Web.WebPages.dll │ ├── System.Web.WebPages.xml │ └── zh-Hans │ ├── System.Web.Helpers.resources.dll │ ├── System.Web.WebPages.Deployment.resources.dll │ ├── System.Web.WebPages.Razor.resources.dll │ ├── System.Web.WebPages.resources.dll │ ├── system.web.helpers.xml │ ├── system.web.webpages.deployment.xml │ ├── system.web.webpages.razor.xml │ └── system.web.webpages.xml ├── Microsoft.AspNet.WebPages.zh-Hans.3.1.2 ├── Microsoft.AspNet.WebPages.zh-Hans.3.1.2.nupkg └── lib │ └── net45 │ └── zh-Hans │ ├── System.Web.Helpers.resources.dll │ ├── System.Web.WebPages.Deployment.resources.dll │ ├── System.Web.WebPages.Razor.resources.dll │ ├── System.Web.WebPages.resources.dll │ ├── system.web.helpers.xml │ ├── system.web.webpages.deployment.xml │ ├── system.web.webpages.razor.xml │ └── system.web.webpages.xml ├── Microsoft.Web.Infrastructure.1.0.0.0 ├── Microsoft.Web.Infrastructure.1.0.0.0.nupkg └── lib │ └── net40 │ └── Microsoft.Web.Infrastructure.dll ├── Modernizr.2.6.2 ├── Content │ └── Scripts │ │ └── modernizr-2.6.2.js ├── Modernizr.2.6.2.nupkg └── Tools │ ├── common.ps1 │ ├── install.ps1 │ └── uninstall.ps1 ├── bootstrap.3.0.0 ├── bootstrap.3.0.0.nupkg └── content │ ├── Content │ ├── bootstrap.css │ └── bootstrap.min.css │ ├── Scripts │ ├── bootstrap.js │ └── bootstrap.min.js │ └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── jQuery.1.10.2 ├── Content │ └── Scripts │ │ ├── jquery-1.10.2-vsdoc.js │ │ ├── jquery-1.10.2.js │ │ ├── jquery-1.10.2.min.js │ │ └── jquery-1.10.2.min.map ├── Tools │ ├── common.ps1 │ ├── install.ps1 │ ├── jquery-1.10.2.intellisense.js │ └── uninstall.ps1 └── jQuery.1.10.2.nupkg └── repositories.config /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | 11 | [Dd]ebug/ 12 | [Rr]elease/ 13 | x64/ 14 | build/ 15 | [Bb]in/ 16 | [Oo]bj/ 17 | 18 | # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets 19 | !packages/*/build/ 20 | 21 | # MSTest test Results 22 | [Tt]est[Rr]esult*/ 23 | [Bb]uild[Ll]og.* 24 | 25 | *_i.c 26 | *_p.c 27 | *.ilk 28 | *.meta 29 | *.obj 30 | *.pch 31 | *.pdb 32 | *.pgc 33 | *.pgd 34 | *.rsp 35 | *.sbr 36 | *.tlb 37 | *.tli 38 | *.tlh 39 | *.tmp 40 | *.tmp_proj 41 | *.log 42 | *.vspscc 43 | *.vssscc 44 | .builds 45 | *.pidb 46 | *.log 47 | *.scc 48 | 49 | # Visual C++ cache files 50 | ipch/ 51 | *.aps 52 | *.ncb 53 | *.opensdf 54 | *.sdf 55 | *.cachefile 56 | 57 | # Visual Studio profiler 58 | *.psess 59 | *.vsp 60 | *.vspx 61 | 62 | # Guidance Automation Toolkit 63 | *.gpState 64 | 65 | # ReSharper is a .NET coding add-in 66 | _ReSharper*/ 67 | *.[Rr]e[Ss]harper 68 | 69 | # TeamCity is a build add-in 70 | _TeamCity* 71 | 72 | # DotCover is a Code Coverage Tool 73 | *.dotCover 74 | 75 | # NCrunch 76 | *.ncrunch* 77 | .*crunch*.local.xml 78 | 79 | # Installshield output folder 80 | [Ee]xpress/ 81 | 82 | # DocProject is a documentation generator add-in 83 | DocProject/buildhelp/ 84 | DocProject/Help/*.HxT 85 | DocProject/Help/*.HxC 86 | DocProject/Help/*.hhc 87 | DocProject/Help/*.hhk 88 | DocProject/Help/*.hhp 89 | DocProject/Help/Html2 90 | DocProject/Help/html 91 | 92 | # Click-Once directory 93 | publish/ 94 | 95 | # Publish Web Output 96 | *.Publish.xml 97 | 98 | # NuGet Packages Directory 99 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line 100 | #packages/ 101 | 102 | # Windows Azure Build Output 103 | csx 104 | *.build.csdef 105 | 106 | # Windows Store app package directory 107 | AppPackages/ 108 | 109 | # Others 110 | sql/ 111 | *.Cache 112 | ClientBin/ 113 | [Ss]tyle[Cc]op.* 114 | ~$* 115 | *~ 116 | *.dbmdl 117 | *.[Pp]ublish.xml 118 | *.pfx 119 | *.publishsettings 120 | 121 | # RIA/Silverlight projects 122 | Generated_Code/ 123 | 124 | # Backup & report files from converting an old project file to a newer 125 | # Visual Studio version. Backup files are not needed, because we have git ;-) 126 | _UpgradeReport_Files/ 127 | Backup*/ 128 | UpgradeLog*.XML 129 | UpgradeLog*.htm 130 | 131 | # SQL Server files 132 | App_Data/*.mdf 133 | App_Data/*.ldf 134 | 135 | 136 | #LightSwitch generated files 137 | GeneratedArtifacts/ 138 | _Pvt_Extensions/ 139 | ModelManifest.xml 140 | 141 | # ========================= 142 | # Windows detritus 143 | # ========================= 144 | 145 | # Windows image file caches 146 | Thumbs.db 147 | ehthumbs.db 148 | 149 | # Folder config file 150 | Desktop.ini 151 | 152 | # Recycle Bin used on file shares 153 | $RECYCLE.BIN/ 154 | 155 | # Mac desktop service store files 156 | .DS_Store 157 | -------------------------------------------------------------------------------- /ExportToExcel.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.30501.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExportToExcel", "ExportToExcel\ExportToExcel.csproj", "{413E2C21-DB1F-43DF-8DBB-71080FBA2DDE}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {413E2C21-DB1F-43DF-8DBB-71080FBA2DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {413E2C21-DB1F-43DF-8DBB-71080FBA2DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {413E2C21-DB1F-43DF-8DBB-71080FBA2DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {413E2C21-DB1F-43DF-8DBB-71080FBA2DDE}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /ExportToExcel/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace ExportToExcel 9 | { 10 | public class RouteConfig 11 | { 12 | public static void RegisterRoutes(RouteCollection routes) 13 | { 14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 15 | 16 | routes.MapRoute( 17 | name: "Default", 18 | url: "{controller}/{action}/{id}", 19 | defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } 20 | ); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ExportToExcel/Content/Site.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | /* Set padding to keep content from hitting the edges */ 7 | .body-content { 8 | padding-left: 15px; 9 | padding-right: 15px; 10 | } 11 | 12 | /* Set width on the form input elements since they're 100% wide by default */ 13 | input, 14 | select, 15 | textarea { 16 | max-width: 280px; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /ExportToExcel/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using ExportToExcel.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Web; 6 | using System.Web.Mvc; 7 | 8 | namespace ExportToExcel.Controllers 9 | { 10 | public class HomeController : Controller 11 | { 12 | // GET: Home 13 | public ActionResult Index() 14 | { 15 | StudentViewModel model = new StudentViewModel(); 16 | return View(model); 17 | } 18 | 19 | public FileContentResult ExportToExcel() 20 | { 21 | List lstStudent = StaticDataOfStudent.ListStudent; 22 | string[] columns = { "ID", "Name","Age"}; 23 | byte[] filecontent = ExcelExportHelper.ExportExcel(lstStudent,"", false, columns); 24 | return File(filecontent, ExcelExportHelper.ExcelContentType, "MyStudent.xlsx"); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /ExportToExcel/ExportToExcel.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | 8 | 9 | 2.0 10 | {413E2C21-DB1F-43DF-8DBB-71080FBA2DDE} 11 | {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} 12 | Library 13 | Properties 14 | ExportToExcel 15 | ExportToExcel 16 | v4.5 17 | true 18 | 19 | 20 | 21 | 22 | 23 | 24 | true 25 | full 26 | false 27 | bin\ 28 | DEBUG;TRACE 29 | prompt 30 | 4 31 | 32 | 33 | pdbonly 34 | true 35 | bin\ 36 | TRACE 37 | prompt 38 | 4 39 | 40 | 41 | 42 | ..\packages\EPPlus.4.1.0\lib\net40\EPPlus.dll 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | ..\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.dll 65 | 66 | 67 | ..\packages\Microsoft.AspNet.Webpages.3.1.2\lib\net45\System.Web.Webpages.dll 68 | 69 | 70 | ..\packages\Microsoft.AspNet.Webpages.3.1.2\lib\net45\System.Web.Webpages.Deployment.dll 71 | 72 | 73 | ..\packages\Microsoft.AspNet.Webpages.3.1.2\lib\net45\System.Web.Webpages.Razor.dll 74 | 75 | 76 | ..\packages\Microsoft.AspNet.Webpages.3.1.2\lib\net45\System.Web.Helpers.dll 77 | 78 | 79 | ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll 80 | 81 | 82 | ..\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll 83 | True 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | Global.asax 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | Web.config 124 | 125 | 126 | Web.config 127 | 128 | 129 | 130 | 131 | 132 | 133 | 10.0 134 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | True 144 | True 145 | 16816 146 | / 147 | http://localhost:16816/ 148 | False 149 | False 150 | 151 | 152 | False 153 | 154 | 155 | 156 | 157 | 164 | -------------------------------------------------------------------------------- /ExportToExcel/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="ExportToExcel.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /ExportToExcel/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Mvc; 6 | using System.Web.Routing; 7 | 8 | namespace ExportToExcel 9 | { 10 | public class MvcApplication : System.Web.HttpApplication 11 | { 12 | protected void Application_Start() 13 | { 14 | AreaRegistration.RegisterAllAreas(); 15 | RouteConfig.RegisterRoutes(RouteTable.Routes); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ExportToExcel/Models/ExcelExportHelper.cs: -------------------------------------------------------------------------------- 1 | using OfficeOpenXml; 2 | using OfficeOpenXml.Style; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel; 6 | using System.Data; 7 | using System.Linq; 8 | using System.Web; 9 | 10 | namespace ExportToExcel.Models 11 | { 12 | /// 13 | /// Excel导出帮助类 14 | /// 15 | public class ExcelExportHelper 16 | { 17 | public static string ExcelContentType 18 | { 19 | get 20 | { 21 | return "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; 22 | } 23 | } 24 | 25 | /// 26 | /// List转DataTable 27 | /// 28 | /// 29 | /// 30 | /// 31 | public static DataTable ListToDataTable(List data) 32 | { 33 | PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(T)); 34 | DataTable dataTable = new DataTable(); 35 | for (int i = 0; i < properties.Count; i++) 36 | { 37 | PropertyDescriptor property = properties[i]; 38 | dataTable.Columns.Add(property.Name, Nullable.GetUnderlyingType(property.PropertyType) ?? property.PropertyType); 39 | } 40 | object[] values = new object[properties.Count]; 41 | foreach (T item in data) 42 | { 43 | for (int i = 0; i < values.Length; i++) 44 | { 45 | values[i] = properties[i].GetValue(item); 46 | } 47 | 48 | dataTable.Rows.Add(values); 49 | } 50 | return dataTable; 51 | } 52 | 53 | 54 | /// 55 | /// 导出Excel 56 | /// 57 | /// 数据源 58 | /// 工作簿Worksheet 59 | /// //是否显示行编号 60 | /// 要导出的列 61 | /// 62 | public static byte[] ExportExcel(DataTable dataTable, string heading = "", bool showSrNo = false, params string[] columnsToTake) 63 | { 64 | byte[] result = null; 65 | using(ExcelPackage package=new ExcelPackage()) 66 | { 67 | ExcelWorksheet workSheet = package.Workbook.Worksheets.Add(string.Format("{0}Data", heading)); 68 | int startRowFrom = string.IsNullOrEmpty(heading) ? 1 : 3; //开始的行 69 | //是否显示行编号 70 | if (showSrNo) 71 | { 72 | DataColumn dataColumn = dataTable.Columns.Add("#", typeof(int)); 73 | dataColumn.SetOrdinal(0); 74 | int index = 1; 75 | foreach (DataRow item in dataTable.Rows) 76 | { 77 | item[0] = index; 78 | index++; 79 | } 80 | } 81 | 82 | //Add Content Into the Excel File 83 | workSheet.Cells["A" + startRowFrom].LoadFromDataTable(dataTable, true); 84 | // autofit width of cells with small content 85 | int columnIndex = 1; 86 | foreach (DataColumn item in dataTable.Columns) 87 | { 88 | ExcelRange columnCells = workSheet.Cells[workSheet.Dimension.Start.Row, columnIndex, workSheet.Dimension.End.Row, columnIndex]; 89 | int maxLength = columnCells.Max(cell => cell.Value.ToString().Count()); 90 | if (maxLength < 150) 91 | { 92 | workSheet.Column(columnIndex).AutoFit(); 93 | } 94 | columnIndex++; 95 | } 96 | // format header - bold, yellow on black 97 | using (ExcelRange r = workSheet.Cells[startRowFrom, 1, startRowFrom, dataTable.Columns.Count]) 98 | { 99 | r.Style.Font.Color.SetColor(System.Drawing.Color.White); 100 | r.Style.Font.Bold = true; 101 | r.Style.Fill.PatternType = OfficeOpenXml.Style.ExcelFillStyle.Solid; 102 | r.Style.Fill.BackgroundColor.SetColor(System.Drawing.ColorTranslator.FromHtml("#1fb5ad")); 103 | } 104 | 105 | // format cells - add borders 106 | using (ExcelRange r = workSheet.Cells[startRowFrom + 1, 1, startRowFrom + dataTable.Rows.Count, dataTable.Columns.Count]) 107 | { 108 | r.Style.Border.Top.Style = ExcelBorderStyle.Thin; 109 | r.Style.Border.Bottom.Style = ExcelBorderStyle.Thin; 110 | r.Style.Border.Left.Style = ExcelBorderStyle.Thin; 111 | r.Style.Border.Right.Style = ExcelBorderStyle.Thin; 112 | 113 | r.Style.Border.Top.Color.SetColor(System.Drawing.Color.Black); 114 | r.Style.Border.Bottom.Color.SetColor(System.Drawing.Color.Black); 115 | r.Style.Border.Left.Color.SetColor(System.Drawing.Color.Black); 116 | r.Style.Border.Right.Color.SetColor(System.Drawing.Color.Black); 117 | } 118 | 119 | // removed ignored columns 120 | for (int i = dataTable.Columns.Count - 1; i >= 0; i--) 121 | { 122 | if (i == 0 && showSrNo) 123 | { 124 | continue; 125 | } 126 | if (!columnsToTake.Contains(dataTable.Columns[i].ColumnName)) 127 | { 128 | workSheet.DeleteColumn(i + 1); 129 | } 130 | } 131 | 132 | if (!String.IsNullOrEmpty(heading)) 133 | { 134 | workSheet.Cells["A1"].Value = heading; 135 | workSheet.Cells["A1"].Style.Font.Size = 20; 136 | 137 | workSheet.InsertColumn(1, 1); 138 | workSheet.InsertRow(1, 1); 139 | workSheet.Column(1).Width = 5; 140 | } 141 | 142 | result = package.GetAsByteArray(); 143 | 144 | } 145 | return result; 146 | } 147 | 148 | /// 149 | /// 导出Excel 150 | /// 151 | /// 152 | /// 153 | /// 154 | /// 155 | /// 156 | /// 157 | public static byte[] ExportExcel(List data, string heading = "", bool isShowSlNo = false, params string[] ColumnsToTake) 158 | { 159 | return ExportExcel(ListToDataTable(data), heading, isShowSlNo, ColumnsToTake); 160 | } 161 | 162 | } 163 | } -------------------------------------------------------------------------------- /ExportToExcel/Models/StaticDataOfStudent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | namespace ExportToExcel.Models 7 | { 8 | /// 9 | /// 返回静态的数据 10 | /// 11 | public class StaticDataOfStudent 12 | { 13 | public static List ListStudent 14 | { 15 | get 16 | { 17 | return new List() 18 | { 19 | new Student(){ID=1,Name="曹操",Sex="男",Email="caocao@163.com",Age=24}, 20 | new Student(){ID=2,Name="李易峰",Sex="女",Email="lilingjie@sina.com.cn",Age=24}, 21 | new Student(){ID=3,Name="张三丰",Sex="男",Email="zhangsanfeng@qq.com",Age=224}, 22 | new Student(){ID=4,Name="孙权",Sex="男",Email="sunquan@163.com",Age=1224}, 23 | }; 24 | } 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /ExportToExcel/Models/Student.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | namespace ExportToExcel.Models 7 | { 8 | public class Student 9 | { 10 | public int ID { get; set; } 11 | 12 | public string Name { get; set; } 13 | 14 | public string Sex { get; set; } 15 | 16 | public int Age { get; set; } 17 | 18 | public string Email { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /ExportToExcel/Models/StudentViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | 6 | namespace ExportToExcel.Models 7 | { 8 | public class StudentViewModel 9 | { 10 | public List ListStudent 11 | { 12 | get 13 | { 14 | return StaticDataOfStudent.ListStudent; 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /ExportToExcel/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过下列特性集 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ExportToExcel")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ExportToExcel")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要 19 | // 从 COM 访问此程序集中的某个类型,请针对该类型将 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于 typelib 的 ID 23 | [assembly: Guid("53fbc577-2c83-43ae-89fd-0d1751a42c68")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订版本 31 | // 32 | // 可以指定所有值,也可以使用“修订号”和“内部版本号”的默认值, 33 | // 方法是按如下所示使用 "*": 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /ExportToExcel/Scripts/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /* NUGET: BEGIN LICENSE TEXT 2 | * 3 | * Microsoft grants you the right to use these script files for the sole 4 | * purpose of either: (i) interacting through your browser with the Microsoft 5 | * website or online service, subject to the applicable licensing or use 6 | * terms; or (ii) using the files as included with a Microsoft product subject 7 | * to that product's license terms. Microsoft reserves all other rights to the 8 | * files not expressly granted by Microsoft, whether by implication, estoppel 9 | * or otherwise. Insofar as a script file is dual licensed under GPL, 10 | * Microsoft neither took the code under GPL nor distributes it thereunder but 11 | * under the terms set out in this paragraph. All notices and licenses 12 | * below are for informational purposes only. 13 | * 14 | * NUGET: END LICENSE TEXT */ 15 | 16 | /** 17 | * bootstrap.js v3.0.0 by @fat and @mdo 18 | * Copyright 2013 Twitter Inc. 19 | * http://www.apache.org/licenses/LICENSE-2.0 20 | */ 21 | if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery); -------------------------------------------------------------------------------- /ExportToExcel/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model ExportToExcel.Models.StudentViewModel 2 | @{ 3 | ViewBag.Title = "Excel文件导出"; 4 | } 5 |
6 |
7 | Export 8 |
9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | @foreach (var item in Model.ListStudent) 22 | { 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | } 31 | 32 |
IDNameSexAgeEmail
@item.ID@item.Name@item.Sex@item.Age@item.Email
33 |
34 |
35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ExportToExcel/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | @ViewBag.Title - My ASP.NET Application 7 | 8 | 9 | 10 | 11 | 12 | 28 | 29 |
30 | @RenderBody() 31 |
32 |
33 |

© @DateTime.Now.Year - My ASP.NET Application

34 |
35 |
36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /ExportToExcel/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } -------------------------------------------------------------------------------- /ExportToExcel/Views/web.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 |
7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /ExportToExcel/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 30 | 31 | -------------------------------------------------------------------------------- /ExportToExcel/Web.Release.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 31 | 32 | -------------------------------------------------------------------------------- /ExportToExcel/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ExportToExcel/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/ExportToExcel/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /ExportToExcel/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/ExportToExcel/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /ExportToExcel/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/ExportToExcel/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /ExportToExcel/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/EPPlus.4.1.0/EPPlus.4.1.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/EPPlus.4.1.0/EPPlus.4.1.0.nupkg -------------------------------------------------------------------------------- /packages/EPPlus.4.1.0/lib/net35/EPPlus.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/EPPlus.4.1.0/lib/net35/EPPlus.dll -------------------------------------------------------------------------------- /packages/EPPlus.4.1.0/lib/net40/EPPlus.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/EPPlus.4.1.0/lib/net40/EPPlus.dll -------------------------------------------------------------------------------- /packages/EPPlus.4.1.0/lib/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/EPPlus.4.1.0/lib/readme.txt -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.5.1.2/Content/Web.config.install.xdt: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.5.1.2/Content/Web.config.uninstall.xdt: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.5.1.2/Microsoft.AspNet.Mvc.5.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Mvc.5.1.2/Microsoft.AspNet.Mvc.5.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.5.1.2/lib/net45/System.Web.Mvc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Mvc.5.1.2/lib/net45/System.Web.Mvc.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.5.1.2/lib/net45/zh-Hans/System.Web.Mvc.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Mvc.5.1.2/lib/net45/zh-Hans/System.Web.Mvc.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.zh-Hans.5.1.2/Microsoft.AspNet.Mvc.zh-Hans.5.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Mvc.zh-Hans.5.1.2/Microsoft.AspNet.Mvc.zh-Hans.5.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Mvc.zh-Hans.5.1.2/lib/net45/zh-Hans/System.Web.Mvc.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Mvc.zh-Hans.5.1.2/lib/net45/zh-Hans/System.Web.Mvc.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Razor.3.1.2/Microsoft.AspNet.Razor.3.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Razor.3.1.2/Microsoft.AspNet.Razor.3.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Razor.3.1.2/lib/net45/System.Web.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Razor.3.1.2/lib/net45/System.Web.Razor.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Razor.3.1.2/lib/net45/zh-Hans/System.Web.Razor.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Razor.3.1.2/lib/net45/zh-Hans/System.Web.Razor.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Razor.zh-Hans.3.1.2/Microsoft.AspNet.Razor.zh-Hans.3.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Razor.zh-Hans.3.1.2/Microsoft.AspNet.Razor.zh-Hans.3.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.Razor.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.Razor.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.Razor.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.Razor.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/Content/Web.config.install.xdt: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/Content/Web.config.uninstall.xdt: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 7 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/Microsoft.AspNet.WebPages.3.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/Microsoft.AspNet.WebPages.3.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.Helpers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.Helpers.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Deployment.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Deployment.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Deployment.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Deployment 5 | 6 | 7 | 8 | Provides a registration point for pre-application start code for Web Pages deployment. 9 | 10 | 11 | Registers pre-application start code for Web Pages deployment. 12 | 13 | 14 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides methods that are used to get deployment information about the Web application. 15 | 16 | 17 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly path for the Web Pages deployment. 18 | The assembly path for the Web Pages deployment. 19 | The Web Pages version. 20 | 21 | 22 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version from the given binary path. 23 | The Web Pages version. 24 | The binary path for the Web Pages. 25 | 26 | 27 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly references from the given path regardless of the Web Pages version. 28 | The dictionary containing the assembly references of the Web Pages and its version. 29 | The path to the Web Pages application. 30 | 31 | 32 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the maximum version of the Web Pages loaded assemblies. 33 | The maximum version of the Web Pages loaded assemblies. 34 | 35 | 36 | Gets the Web Pages version from the given path. 37 | The Web Pages version. 38 | The path of the root directory for the application. 39 | 40 | 41 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version using the configuration settings with the specified path. 42 | The Web Pages version. 43 | The path to the application settings. 44 | 45 | 46 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the assemblies for this Web Pages deployment. 47 | A list containing the assemblies for this Web Pages deployment. 48 | 49 | 50 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is enabled. 51 | true if the Web Pages deployment is enabled; otherwise, false. 52 | The path to the Web Pages deployment. 53 | 54 | 55 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is explicitly disabled. 56 | true if the Web Pages deployment is explicitly disabled; otherwise, false. 57 | The path to the Web Pages deployment. 58 | 59 | 60 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Razor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Razor.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.Razor.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Razor 5 | 6 | 7 | 8 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the base class for the compiling path that contains event data. 9 | 10 | 11 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. 12 | The string of virtual path. 13 | The host for the webpage razor. 14 | 15 | 16 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host for the webpage razor. 17 | The host for the webpage razor. 18 | 19 | 20 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path for the webpage. 21 | The virtual path for the webpage. 22 | 23 | 24 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. 25 | 26 | 27 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. 28 | 29 | 30 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a build provider for Razor. 31 | 32 | 33 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. 34 | 35 | 36 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a virtual path dependency to the collection. 37 | A virtual path dependency to add. 38 | 39 | 40 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly builder for Razor environment. 41 | The assembly builder. 42 | 43 | 44 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the compiler settings for Razor environment. 45 | 46 | 47 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is completed. 48 | 49 | 50 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is started. 51 | 52 | 53 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when compiling with a new virtual path. 54 | 55 | 56 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration. 57 | A Razor engine host instance. 58 | 59 | 60 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates the code using the provided assembly builder. 61 | The assembly builder. 62 | 63 | 64 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of the generated code. 65 | The type of the generated code. 66 | The results of the code compilation. 67 | 68 | 69 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the Razor engine host instance based on the web configuration. 70 | The Razor engine host instance. 71 | 72 | 73 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Opens an internal text reader. 74 | An internal text reader. 75 | 76 | 77 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the CompilingPath event. 78 | The data provided for the CompilingPath event. 79 | 80 | 81 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the source code. 82 | The virtual path of the source code. 83 | 84 | 85 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the collection of virtual path for the dependencies. 86 | The collection of virtual path for the dependencies. 87 | 88 | 89 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web code razor host for the web pages. 90 | 91 | 92 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. 93 | The virtual path. 94 | 95 | 96 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. 97 | The virtual path. 98 | The physical path. 99 | 100 | 101 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the class name of this instance. 102 | The class name of this instance. 103 | The virtual path. 104 | 105 | 106 | Generates a post process code for the web code razor host. 107 | The generator code context. 108 | 109 | 110 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the razor hosts in a webpage. 111 | 112 | 113 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class with the specified virtual file path. 114 | The virtual file path. 115 | 116 | 117 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class with the specified virtual and physical file path. 118 | The virtual file path. 119 | The physical file path. 120 | 121 | 122 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a global import on the webpage. 123 | The notification service name. 124 | 125 | 126 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the . 127 | The . 128 | 129 | 130 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser. 131 | A markup parser. 132 | 133 | 134 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value for the DefaultBaseClass. 135 | A value for the DefaultBaseClass. 136 | 137 | 138 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the default class. 139 | The name of the default class. 140 | 141 | 142 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the debug compilation is set to default. 143 | true if the debug compilation is set to default; otherwise, false. 144 | 145 | 146 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the base class of the default page. 147 | The base class of the default page. 148 | 149 | 150 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the name of the class to which the specified webpage belongs. 151 | The name of the class to which the specified webpage belongs. 152 | The virtual file path. 153 | 154 | 155 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the code language specified in the webpage. 156 | The code language specified in the webpage. 157 | 158 | 159 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the global imports for the webpage. 160 | The global imports for the webpage. 161 | 162 | 163 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the file path of the instrumental source. 164 | The file path of the instrumental source. 165 | 166 | 167 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the webpage is a special page. 168 | true if the webpage is a special page; otherwise, false. 169 | 170 | 171 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the physical file system path of the razor host. 172 | They physical file system path of the razor host. 173 | 174 | 175 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the generated code after the process. 176 | The . 177 | 178 | 179 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type name. 180 | The file name. 181 | The base type name. 182 | 183 | 184 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type. 185 | The file name. 186 | The type of base file. 187 | 188 | 189 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path. 190 | The virtual file path. 191 | 192 | 193 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates instances of the host files. 194 | 195 | 196 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. 197 | 198 | 199 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Loads the service description information from the configuration file and applies it to the host. 200 | The configuration. 201 | The webpage razor host. 202 | 203 | 204 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path. 205 | A default host. 206 | The virtual path of the file. 207 | 208 | 209 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path. 210 | A default host. 211 | The virtual path of the file. 212 | The physical file system path. 213 | 214 | 215 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor host. 216 | A razor host. 217 | The virtual path to the target file. 218 | The physical path to the target file. 219 | 220 | 221 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. 222 | A host from the configuration. 223 | The virtual path to the target file. 224 | 225 | 226 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. 227 | A host from the configuration. 228 | The virtual path of the file. 229 | The physical file system path. 230 | 231 | 232 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. 233 | A host from the configuration. 234 | The configuration. 235 | The virtual path of the file. 236 | 237 | 238 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. 239 | A host from the configuration. 240 | The configuration. 241 | The virtual path of the file. 242 | The physical file system path. 243 | 244 | 245 | Provides configuration system support for the host configuration section. 246 | 247 | 248 | Initializes a new instance of the class. 249 | 250 | 251 | Gets or sets the host factory. 252 | The host factory. 253 | 254 | 255 | Represents the name of the configuration section for a Razor host environment. 256 | 257 | 258 | Provides configuration system support for the pages configuration section. 259 | 260 | 261 | Initializes a new instance of the class. 262 | 263 | 264 | Gets or sets the collection of namespaces to add to Web Pages pages in the current application. 265 | The collection of namespaces. 266 | 267 | 268 | Gets or sets the name of the page base type class. 269 | The name of the page base type class. 270 | 271 | 272 | Represents the name of the configuration section for Razor pages. 273 | 274 | 275 | Provides configuration system support for the system.web.webPages.razor configuration section. 276 | 277 | 278 | Initializes a new instance of the class. 279 | 280 | 281 | Represents the name of the configuration section for Razor Web section. Contains the static, read-only string "system.web.webPages.razor". 282 | 283 | 284 | Gets or sets the host value for system.web.webPages.razor section group. 285 | The host value. 286 | 287 | 288 | Gets or sets the value of the pages element for the system.web.webPages.razor section. 289 | The pages element value. 290 | 291 | 292 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/System.Web.WebPages.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.Helpers.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.Helpers.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Deployment.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Deployment.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Razor.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Razor.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/system.web.webpages.deployment.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Deployment 5 | 6 | 7 | 8 | 为 Web Pages 部署应用程序预启动代码提供注册点。 9 | 10 | 11 | 注册 Web Pages 部署应用程序预启动代码。 12 | 13 | 14 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。提供用于获取有关 Web 应用程序的部署信息的方法。 15 | 16 | 17 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Web Pages 部署的程序集路径。 18 | Web Pages 部署的程序集路径。 19 | Web Pages 版本。 20 | 21 | 22 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从给定的二进制路径获取 Web Pages 版本。 23 | Web Pages 版本。 24 | Web Pages 的二进制路径。 25 | 26 | 27 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从给定的路径获取程序集引用,而不管 Web Pages 版本为何。 28 | 包含 Web Pages 及其版本的程序集引用的字典。 29 | Web Pages 应用程序的路径。 30 | 31 | 32 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Web Pages 加载的程序集的最大版本。 33 | Web Pages 加载的程序集的最大版本。 34 | 35 | 36 | 从给定的路径获取 Web Pages 版本。 37 | Web Pages 版本。 38 | 应用程序根目录的路径。 39 | 40 | 41 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用具有指定路径的配置设置获取 Web Pages 版本。 42 | Web Pages 版本。 43 | 应用程序设置的路径。 44 | 45 | 46 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。返回 Web Pages 部署的程序集。 47 | 包含此 Web Pages 部署的程序集的列表。 48 | 49 | 50 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。指示是否启用 Web Pages 部署。 51 | 如果启用了 Web Pages 部署,则为 true;否则为 false。 52 | Web Pages 部署的路径。 53 | 54 | 55 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。指示是否显式禁用 Web Pages 部署。 56 | 如果显式禁用了 Web Pages 部署,则为 true;否则为 false。 57 | Web Pages 部署的路径。 58 | 59 | 60 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.3.1.2/lib/net45/zh-Hans/system.web.webpages.razor.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Razor 5 | 6 | 7 | 8 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示包含事件数据的编译路径的基类。 9 | 10 | 11 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 12 | 虚拟路径的字符串。 13 | 网页 Razor 的主机。 14 | 15 | 16 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置网页 Razor 的主机。 17 | 网页 Razor 的主机。 18 | 19 | 20 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取网页的虚拟路径。 21 | 网页的虚拟路径。 22 | 23 | 24 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 25 | 26 | 27 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 28 | 29 | 30 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示 Razor 的生成提供程序。 31 | 32 | 33 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 34 | 35 | 36 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。将虚拟路径依赖关系添加到集合中。 37 | 要添加的虚拟路径依赖关系。 38 | 39 | 40 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 环境的程序集生成器。 41 | 程序集生成器。 42 | 43 | 44 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 环境的编译器设置。 45 | 46 | 47 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在代码生成完成时发生。 48 | 49 | 50 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在代码生成启动时发生。 51 | 52 | 53 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在使用新的虚拟路径编译时发生。 54 | 55 | 56 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。根据 Web 配置创建 Razor 引擎主机实例。 57 | Razor 引擎主机实例。 58 | 59 | 60 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用提供的程序集生成器生成代码。 61 | 程序集生成器。 62 | 63 | 64 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取所生成代码的类型。 65 | 所生成代码的类型。 66 | 代码编译的结果。 67 | 68 | 69 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。根据 Web 配置创建 Razor 引擎主机实例。 70 | Razor 引擎主机实例。 71 | 72 | 73 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。打开内部文本读取器。 74 | 内部文本读取器。 75 | 76 | 77 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。引发 CompilingPath 事件。 78 | 为 CompilingPath 事件提供的数据。 79 | 80 | 81 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取源代码的虚拟路径。 82 | 源代码的虚拟路径。 83 | 84 | 85 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取依赖项的虚拟路径的集合。 86 | 依赖项的虚拟路径的集合。 87 | 88 | 89 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示网页的 Web 代码 Razor 主机。 90 | 91 | 92 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 93 | 虚拟路径。 94 | 95 | 96 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 97 | 虚拟路径。 98 | 物理路径。 99 | 100 | 101 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。返回该实例的类名。 102 | 该实例的类名。 103 | 虚拟路径。 104 | 105 | 106 | 生成 Web 代码 Razor 主机的后处理代码。 107 | 生成器代码上下文。 108 | 109 | 110 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示网页中的 Razor 主机。 111 | 112 | 113 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟文件路径初始化 类的新实例。 114 | 虚拟文件路径。 115 | 116 | 117 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟和物理文件路径初始化 类的新实例。 118 | 虚拟文件路径。 119 | 物理文件路径。 120 | 121 | 122 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在网页上添加全局导入。 123 | 通知服务名称。 124 | 125 | 126 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 127 | 128 | 129 | 130 | 131 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建标记分析器。 132 | 标记分析器。 133 | 134 | 135 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置 DefaultBaseClass 的值。 136 | DefaultBaseClass 的值。 137 | 138 | 139 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置默认类的名称。 140 | 默认类的名称。 141 | 142 | 143 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置一个指示调试编译是否设置为默认值的值。 144 | 如果调试编译设置为默认值,则为 true;否则为 false。 145 | 146 | 147 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置默认页的基类。 148 | 默认页的基类。 149 | 150 | 151 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。检索指定网页所属的类的名称。 152 | 指定网页所属的类的名称。 153 | 虚拟文件路径。 154 | 155 | 156 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取在网页中指定的代码语言。 157 | 在网页中指定的代码语言。 158 | 159 | 160 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取网页的全局导入。 161 | 网页的全局导入。 162 | 163 | 164 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置检测到的源文件的文件路径。 165 | 检测到的源文件的文件路径。 166 | 167 | 168 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取一个值,该值指示网页是否为特殊页。 169 | 如果网页是特殊页,则为 true;否则为 false。 170 | 171 | 172 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 主机的物理文件系统路径。 173 | Razor 主机的物理文件系统路径。 174 | 175 | 176 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取处理之后生成的代码。 177 | 178 | 。 179 | 180 | 181 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定文件名和基类型名称注册特殊文件。 182 | 文件名。 183 | 基类型名称。 184 | 185 | 186 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定文件名和基类型注册特殊文件。 187 | 文件名。 188 | 基文件的类型。 189 | 190 | 191 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取虚拟文件路径。 192 | 虚拟文件路径。 193 | 194 | 195 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建主机文件的实例。 196 | 197 | 198 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 199 | 200 | 201 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从配置文件加载服务描述信息并将这些信息应用到主机。 202 | 配置。 203 | 网页 Razor 主机。 204 | 205 | 206 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟路径创建默认主机。 207 | 默认主机。 208 | 文件的虚拟路径。 209 | 210 | 211 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟路径和物理路径创建默认主机。 212 | 默认主机。 213 | 文件的虚拟路径。 214 | 物理文件系统路径。 215 | 216 | 217 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建 Razor 主机。 218 | Razor 主机。 219 | 目标文件的虚拟路径。 220 | 目标文件的物理路径。 221 | 222 | 223 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 224 | 配置中的主机。 225 | 目标文件的虚拟路径。 226 | 227 | 228 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 229 | 配置中的主机。 230 | 文件的虚拟路径。 231 | 物理文件系统路径。 232 | 233 | 234 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 235 | 配置中的主机。 236 | 配置。 237 | 文件的虚拟路径。 238 | 239 | 240 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 241 | 配置中的主机。 242 | 配置。 243 | 文件的虚拟路径。 244 | 物理文件系统路径。 245 | 246 | 247 | 为 host 配置部分提供配置系统支持。 248 | 249 | 250 | 初始化 类的新实例。 251 | 252 | 253 | 获取或设置宿主工厂。 254 | 宿主工厂。 255 | 256 | 257 | 表示 Razor 宿主环境的配置部分的名称。 258 | 259 | 260 | 为 pages 配置部分提供配置系统支持。 261 | 262 | 263 | 初始化 类的新实例。 264 | 265 | 266 | 获取或设置要添加到当前应用程序的 Web Pages 页的命名空间的集合。 267 | 命名空间的集合。 268 | 269 | 270 | 获取或设置页基类型类的名称。 271 | 页基类型类的名称。 272 | 273 | 274 | 表示 Razor 页配置部分的名称。 275 | 276 | 277 | 为 system.web.webPages.razor 配置部分提供配置系统支持。 278 | 279 | 280 | 初始化 类的新实例。 281 | 282 | 283 | 表示 Razor Web 部分的配置部分的名称。包含静态的只读字符串“system.web.webPages.razor”。 284 | 285 | 286 | 获取或设置 system.web.webPages.razor 部分组的 host 值。 287 | 主机值。 288 | 289 | 290 | 获取或设置 system.web.webPages.razor 部分的 pages 元素的值。 291 | pages 元素的值。 292 | 293 | 294 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/Microsoft.AspNet.WebPages.zh-Hans.3.1.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/Microsoft.AspNet.WebPages.zh-Hans.3.1.2.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.Helpers.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.Helpers.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Deployment.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Deployment.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Razor.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.Razor.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/System.Web.WebPages.resources.dll -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/system.web.webpages.deployment.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Deployment 5 | 6 | 7 | 8 | 为 Web Pages 部署应用程序预启动代码提供注册点。 9 | 10 | 11 | 注册 Web Pages 部署应用程序预启动代码。 12 | 13 | 14 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。提供用于获取有关 Web 应用程序的部署信息的方法。 15 | 16 | 17 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Web Pages 部署的程序集路径。 18 | Web Pages 部署的程序集路径。 19 | Web Pages 版本。 20 | 21 | 22 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从给定的二进制路径获取 Web Pages 版本。 23 | Web Pages 版本。 24 | Web Pages 的二进制路径。 25 | 26 | 27 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从给定的路径获取程序集引用,而不管 Web Pages 版本为何。 28 | 包含 Web Pages 及其版本的程序集引用的字典。 29 | Web Pages 应用程序的路径。 30 | 31 | 32 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Web Pages 加载的程序集的最大版本。 33 | Web Pages 加载的程序集的最大版本。 34 | 35 | 36 | 从给定的路径获取 Web Pages 版本。 37 | Web Pages 版本。 38 | 应用程序根目录的路径。 39 | 40 | 41 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用具有指定路径的配置设置获取 Web Pages 版本。 42 | Web Pages 版本。 43 | 应用程序设置的路径。 44 | 45 | 46 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。返回 Web Pages 部署的程序集。 47 | 包含此 Web Pages 部署的程序集的列表。 48 | 49 | 50 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。指示是否启用 Web Pages 部署。 51 | 如果启用了 Web Pages 部署,则为 true;否则为 false。 52 | Web Pages 部署的路径。 53 | 54 | 55 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。指示是否显式禁用 Web Pages 部署。 56 | 如果显式禁用了 Web Pages 部署,则为 true;否则为 false。 57 | Web Pages 部署的路径。 58 | 59 | 60 | -------------------------------------------------------------------------------- /packages/Microsoft.AspNet.WebPages.zh-Hans.3.1.2/lib/net45/zh-Hans/system.web.webpages.razor.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | System.Web.WebPages.Razor 5 | 6 | 7 | 8 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示包含事件数据的编译路径的基类。 9 | 10 | 11 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 12 | 虚拟路径的字符串。 13 | 网页 Razor 的主机。 14 | 15 | 16 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置网页 Razor 的主机。 17 | 网页 Razor 的主机。 18 | 19 | 20 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取网页的虚拟路径。 21 | 网页的虚拟路径。 22 | 23 | 24 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 25 | 26 | 27 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 28 | 29 | 30 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示 Razor 的生成提供程序。 31 | 32 | 33 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 34 | 35 | 36 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。将虚拟路径依赖关系添加到集合中。 37 | 要添加的虚拟路径依赖关系。 38 | 39 | 40 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 环境的程序集生成器。 41 | 程序集生成器。 42 | 43 | 44 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 环境的编译器设置。 45 | 46 | 47 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在代码生成完成时发生。 48 | 49 | 50 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在代码生成启动时发生。 51 | 52 | 53 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在使用新的虚拟路径编译时发生。 54 | 55 | 56 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。根据 Web 配置创建 Razor 引擎主机实例。 57 | Razor 引擎主机实例。 58 | 59 | 60 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用提供的程序集生成器生成代码。 61 | 程序集生成器。 62 | 63 | 64 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取所生成代码的类型。 65 | 所生成代码的类型。 66 | 代码编译的结果。 67 | 68 | 69 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。根据 Web 配置创建 Razor 引擎主机实例。 70 | Razor 引擎主机实例。 71 | 72 | 73 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。打开内部文本读取器。 74 | 内部文本读取器。 75 | 76 | 77 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。引发 CompilingPath 事件。 78 | 为 CompilingPath 事件提供的数据。 79 | 80 | 81 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取源代码的虚拟路径。 82 | 源代码的虚拟路径。 83 | 84 | 85 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取依赖项的虚拟路径的集合。 86 | 依赖项的虚拟路径的集合。 87 | 88 | 89 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示网页的 Web 代码 Razor 主机。 90 | 91 | 92 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 93 | 虚拟路径。 94 | 95 | 96 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 97 | 虚拟路径。 98 | 物理路径。 99 | 100 | 101 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。返回该实例的类名。 102 | 该实例的类名。 103 | 虚拟路径。 104 | 105 | 106 | 生成 Web 代码 Razor 主机的后处理代码。 107 | 生成器代码上下文。 108 | 109 | 110 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。表示网页中的 Razor 主机。 111 | 112 | 113 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟文件路径初始化 类的新实例。 114 | 虚拟文件路径。 115 | 116 | 117 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟和物理文件路径初始化 类的新实例。 118 | 虚拟文件路径。 119 | 物理文件路径。 120 | 121 | 122 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。在网页上添加全局导入。 123 | 通知服务名称。 124 | 125 | 126 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 127 | 128 | 129 | 130 | 131 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建标记分析器。 132 | 标记分析器。 133 | 134 | 135 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置 DefaultBaseClass 的值。 136 | DefaultBaseClass 的值。 137 | 138 | 139 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置默认类的名称。 140 | 默认类的名称。 141 | 142 | 143 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置一个指示调试编译是否设置为默认值的值。 144 | 如果调试编译设置为默认值,则为 true;否则为 false。 145 | 146 | 147 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置默认页的基类。 148 | 默认页的基类。 149 | 150 | 151 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。检索指定网页所属的类的名称。 152 | 指定网页所属的类的名称。 153 | 虚拟文件路径。 154 | 155 | 156 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取在网页中指定的代码语言。 157 | 在网页中指定的代码语言。 158 | 159 | 160 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取网页的全局导入。 161 | 网页的全局导入。 162 | 163 | 164 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取或设置检测到的源文件的文件路径。 165 | 检测到的源文件的文件路径。 166 | 167 | 168 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取一个值,该值指示网页是否为特殊页。 169 | 如果网页是特殊页,则为 true;否则为 false。 170 | 171 | 172 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取 Razor 主机的物理文件系统路径。 173 | Razor 主机的物理文件系统路径。 174 | 175 | 176 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取处理之后生成的代码。 177 | 178 | 。 179 | 180 | 181 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定文件名和基类型名称注册特殊文件。 182 | 文件名。 183 | 基类型名称。 184 | 185 | 186 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定文件名和基类型注册特殊文件。 187 | 文件名。 188 | 基文件的类型。 189 | 190 | 191 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。获取虚拟文件路径。 192 | 虚拟文件路径。 193 | 194 | 195 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建主机文件的实例。 196 | 197 | 198 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。初始化 类的新实例。 199 | 200 | 201 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。从配置文件加载服务描述信息并将这些信息应用到主机。 202 | 配置。 203 | 网页 Razor 主机。 204 | 205 | 206 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟路径创建默认主机。 207 | 默认主机。 208 | 文件的虚拟路径。 209 | 210 | 211 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。使用指定的虚拟路径和物理路径创建默认主机。 212 | 默认主机。 213 | 文件的虚拟路径。 214 | 物理文件系统路径。 215 | 216 | 217 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建 Razor 主机。 218 | Razor 主机。 219 | 目标文件的虚拟路径。 220 | 目标文件的物理路径。 221 | 222 | 223 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 224 | 配置中的主机。 225 | 目标文件的虚拟路径。 226 | 227 | 228 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 229 | 配置中的主机。 230 | 文件的虚拟路径。 231 | 物理文件系统路径。 232 | 233 | 234 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 235 | 配置中的主机。 236 | 配置。 237 | 文件的虚拟路径。 238 | 239 | 240 | 此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。创建配置中的主机。 241 | 配置中的主机。 242 | 配置。 243 | 文件的虚拟路径。 244 | 物理文件系统路径。 245 | 246 | 247 | 为 host 配置部分提供配置系统支持。 248 | 249 | 250 | 初始化 类的新实例。 251 | 252 | 253 | 获取或设置宿主工厂。 254 | 宿主工厂。 255 | 256 | 257 | 表示 Razor 宿主环境的配置部分的名称。 258 | 259 | 260 | 为 pages 配置部分提供配置系统支持。 261 | 262 | 263 | 初始化 类的新实例。 264 | 265 | 266 | 获取或设置要添加到当前应用程序的 Web Pages 页的命名空间的集合。 267 | 命名空间的集合。 268 | 269 | 270 | 获取或设置页基类型类的名称。 271 | 页基类型类的名称。 272 | 273 | 274 | 表示 Razor 页配置部分的名称。 275 | 276 | 277 | 为 system.web.webPages.razor 配置部分提供配置系统支持。 278 | 279 | 280 | 初始化 类的新实例。 281 | 282 | 283 | 表示 Razor Web 部分的配置部分的名称。包含静态的只读字符串“system.web.webPages.razor”。 284 | 285 | 286 | 获取或设置 system.web.webPages.razor 部分组的 host 值。 287 | 主机值。 288 | 289 | 290 | 获取或设置 system.web.webPages.razor 部分的 pages 元素的值。 291 | pages 元素的值。 292 | 293 | 294 | -------------------------------------------------------------------------------- /packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg -------------------------------------------------------------------------------- /packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll -------------------------------------------------------------------------------- /packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg -------------------------------------------------------------------------------- /packages/Modernizr.2.6.2/Tools/common.ps1: -------------------------------------------------------------------------------- 1 | function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { 2 | try { 3 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") 4 | } 5 | catch { 6 | # _references.js file not found 7 | return 8 | } 9 | 10 | if ($referencesFileProjectItem -eq $null) { 11 | # _references.js file not found 12 | return 13 | } 14 | 15 | $referencesFilePath = $referencesFileProjectItem.FileNames(1) 16 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js" 17 | 18 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 0) { 19 | # File has no existing matching reference line 20 | # Add the full reference line to the beginning of the file 21 | "/// " | Add-Content $referencesTempFilePath -Encoding UTF8 22 | Get-Content $referencesFilePath | Add-Content $referencesTempFilePath 23 | } 24 | else { 25 | # Loop through file and replace old file name with new file name 26 | Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath 27 | } 28 | 29 | # Copy over the new _references.js file 30 | Copy-Item $referencesTempFilePath $referencesFilePath -Force 31 | Remove-Item $referencesTempFilePath -Force 32 | } 33 | 34 | function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) { 35 | try { 36 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") 37 | } 38 | catch { 39 | # _references.js file not found 40 | return 41 | } 42 | 43 | if ($referencesFileProjectItem -eq $null) { 44 | return 45 | } 46 | 47 | $referencesFilePath = $referencesFileProjectItem.FileNames(1) 48 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js" 49 | 50 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) { 51 | # Delete the line referencing the file 52 | Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath 53 | 54 | # Copy over the new _references.js file 55 | Copy-Item $referencesTempFilePath $referencesFilePath -Force 56 | Remove-Item $referencesTempFilePath -Force 57 | } 58 | } 59 | 60 | # Extract the version number from the file in the package's content\scripts folder 61 | $packageScriptsFolder = Join-Path $installPath Content\Scripts 62 | $modernizrFileName = Join-Path $packageScriptsFolder "modernizr-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf 63 | $modernizrFileNameRegEx = "modernizr-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js" 64 | $modernizrFileName -match $modernizrFileNameRegEx 65 | $ver = $matches[1] 66 | 67 | # Get the project item for the scripts folder 68 | try { 69 | $scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts") 70 | $projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1) 71 | } 72 | catch { 73 | # No Scripts folder 74 | Write-Host "No scripts folder found" 75 | } -------------------------------------------------------------------------------- /packages/Modernizr.2.6.2/Tools/install.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | if ($scriptsFolderProjectItem -eq $null) { 6 | # No Scripts folder 7 | Write-Host "No Scripts folder found" 8 | exit 9 | } 10 | 11 | # Update the _references.js file 12 | AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx $modernizrFileName -------------------------------------------------------------------------------- /packages/Modernizr.2.6.2/Tools/uninstall.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | # Update the _references.js file 6 | Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx -------------------------------------------------------------------------------- /packages/bootstrap.3.0.0/bootstrap.3.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/bootstrap.3.0.0/bootstrap.3.0.0.nupkg -------------------------------------------------------------------------------- /packages/bootstrap.3.0.0/content/Scripts/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /* NUGET: BEGIN LICENSE TEXT 2 | * 3 | * Microsoft grants you the right to use these script files for the sole 4 | * purpose of either: (i) interacting through your browser with the Microsoft 5 | * website or online service, subject to the applicable licensing or use 6 | * terms; or (ii) using the files as included with a Microsoft product subject 7 | * to that product's license terms. Microsoft reserves all other rights to the 8 | * files not expressly granted by Microsoft, whether by implication, estoppel 9 | * or otherwise. Insofar as a script file is dual licensed under GPL, 10 | * Microsoft neither took the code under GPL nor distributes it thereunder but 11 | * under the terms set out in this paragraph. All notices and licenses 12 | * below are for informational purposes only. 13 | * 14 | * NUGET: END LICENSE TEXT */ 15 | 16 | /** 17 | * bootstrap.js v3.0.0 by @fat and @mdo 18 | * Copyright 2013 Twitter Inc. 19 | * http://www.apache.org/licenses/LICENSE-2.0 20 | */ 21 | if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery); -------------------------------------------------------------------------------- /packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/bootstrap.3.0.0/content/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /packages/jQuery.1.10.2/Tools/common.ps1: -------------------------------------------------------------------------------- 1 | function Get-Checksum($file) { 2 | $cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" 3 | 4 | $fileInfo = Get-Item $file 5 | trap { ; 6 | continue } $stream = $fileInfo.OpenRead() 7 | if ($? -eq $false) { 8 | # Couldn't open file for reading 9 | return $null 10 | } 11 | 12 | $bytes = $cryptoProvider.ComputeHash($stream) 13 | $checksum = '' 14 | foreach ($byte in $bytes) { 15 | $checksum += $byte.ToString('x2') 16 | } 17 | 18 | $stream.Close() | Out-Null 19 | 20 | return $checksum 21 | } 22 | 23 | function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { 24 | try { 25 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") 26 | } 27 | catch { 28 | # _references.js file not found 29 | return 30 | } 31 | 32 | if ($referencesFileProjectItem -eq $null) { 33 | # _references.js file not found 34 | return 35 | } 36 | 37 | $referencesFilePath = $referencesFileProjectItem.FileNames(1) 38 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js" 39 | 40 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 0) { 41 | # File has no existing matching reference line 42 | # Add the full reference line to the beginning of the file 43 | "/// " | Add-Content $referencesTempFilePath -Encoding UTF8 44 | Get-Content $referencesFilePath | Add-Content $referencesTempFilePath 45 | } 46 | else { 47 | # Loop through file and replace old file name with new file name 48 | Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath 49 | } 50 | 51 | # Copy over the new _references.js file 52 | Copy-Item $referencesTempFilePath $referencesFilePath -Force 53 | Remove-Item $referencesTempFilePath -Force 54 | } 55 | 56 | function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) { 57 | try { 58 | $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") 59 | } 60 | catch { 61 | # _references.js file not found 62 | return 63 | } 64 | 65 | if ($referencesFileProjectItem -eq $null) { 66 | return 67 | } 68 | 69 | $referencesFilePath = $referencesFileProjectItem.FileNames(1) 70 | $referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js" 71 | 72 | if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) { 73 | # Delete the line referencing the file 74 | Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath 75 | 76 | # Copy over the new _references.js file 77 | Copy-Item $referencesTempFilePath $referencesFilePath -Force 78 | Remove-Item $referencesTempFilePath -Force 79 | } 80 | } 81 | 82 | function Delete-ProjectItem($item) { 83 | $itemDeleted = $false 84 | for ($1=1; $i -le 5; $i++) { 85 | try { 86 | $item.Delete() 87 | $itemDeleted = $true 88 | break 89 | } 90 | catch { 91 | # Try again in 200ms 92 | [System.Threading.Thread]::Sleep(200) 93 | } 94 | } 95 | if ($itemDeleted -eq $false) { 96 | throw "Unable to delete project item after five attempts." 97 | } 98 | } 99 | 100 | # Extract the version number from the jquery file in the package's content\scripts folder 101 | $packageScriptsFolder = Join-Path $installPath Content\Scripts 102 | $jqueryFileName = Join-Path $packageScriptsFolder "jquery-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf 103 | $jqueryFileNameRegEx = "jquery-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js" 104 | $jqueryFileName -match $jqueryFileNameRegEx 105 | $ver = $matches[1] 106 | 107 | $intelliSenseFileName = "jquery-$ver.intellisense.js" 108 | 109 | # Get the project item for the scripts folder 110 | try { 111 | $scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts") 112 | $projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1) 113 | } 114 | catch { 115 | # No Scripts folder 116 | Write-Host "No scripts folder found" 117 | } -------------------------------------------------------------------------------- /packages/jQuery.1.10.2/Tools/install.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | # VS 11 and above supports the new intellisense JS files 6 | $vsVersion = [System.Version]::Parse($dte.Version) 7 | $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 8 | 9 | if (-not $supportsJsIntelliSenseFile) { 10 | $displayVersion = $vsVersion.Major 11 | Write-Host "IntelliSense JS files are not supported by your version of Visual Studio: $displayVersion" 12 | exit 13 | } 14 | 15 | if ($scriptsFolderProjectItem -eq $null) { 16 | # No Scripts folder 17 | Write-Host "No Scripts folder found" 18 | exit 19 | } 20 | 21 | # Delete the vsdoc file from the project 22 | try { 23 | $vsDocProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("jquery-$ver-vsdoc.js") 24 | Delete-ProjectItem $vsDocProjectItem 25 | } 26 | catch { 27 | Write-Host "Error deleting vsdoc file: " + $_.Exception -ForegroundColor Red 28 | exit 29 | } 30 | 31 | # Copy the intellisense file to the project from the tools folder 32 | $intelliSenseFileSourcePath = Join-Path $toolsPath $intelliSenseFileName 33 | try { 34 | $scriptsFolderProjectItem.ProjectItems.AddFromFileCopy($intelliSenseFileSourcePath) 35 | } 36 | catch { 37 | # This will throw if the file already exists, so we need to catch here 38 | } 39 | 40 | # Update the _references.js file 41 | AddOrUpdate-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx $jqueryFileName -------------------------------------------------------------------------------- /packages/jQuery.1.10.2/Tools/uninstall.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | . (Join-Path $toolsPath common.ps1) 4 | 5 | # Determine the file paths 6 | $projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName 7 | $origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName 8 | 9 | if (Test-Path $projectIntelliSenseFilePath) { 10 | if ((Get-Checksum $projectIntelliSenseFilePath) -eq (Get-Checksum $origIntelliSenseFilePath)) { 11 | # The intellisense file in the project matches the file in the tools folder, delete it 12 | 13 | if ($scriptsFolderProjectItem -eq $null) { 14 | # No Scripts folder 15 | exit 16 | } 17 | 18 | try { 19 | # Get the project item for the intellisense file 20 | $intelliSenseFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($intelliSenseFileName) 21 | } 22 | catch { 23 | # The item wasn't found 24 | exit 25 | } 26 | 27 | # Delete the project item 28 | Delete-ProjectItem $intelliSenseFileProjectItem 29 | } 30 | else { 31 | $projectScriptsFolderLeaf = Split-Path $projectScriptsFolderPath -Leaf 32 | Write-Host "Skipping '$projectScriptsFolderLeaf\$intelliSenseFileName' because it was modified." -ForegroundColor Magenta 33 | } 34 | } 35 | else { 36 | # The intellisense file was not found in project 37 | Write-Host "The intellisense file was not found in project at path $projectIntelliSenseFilePath" 38 | } 39 | 40 | # Update the _references.js file 41 | Remove-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx -------------------------------------------------------------------------------- /packages/jQuery.1.10.2/jQuery.1.10.2.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caofangsheng93/ExcelExportInMvc/20ff45c8364737ac8d23ed1bf33ce33e3e40e165/packages/jQuery.1.10.2/jQuery.1.10.2.nupkg -------------------------------------------------------------------------------- /packages/repositories.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | --------------------------------------------------------------------------------