Git Product home page Git Product logo

easyepplus's Introduction

EasyEpplus

  • 对EPPlus的简易封装,实现Excel的导入导出。
  • 本类库适合部署到Linux或者Windows上的项目。

v1-0-0 2020-07-31

引用Epplus

  • 使用NuGet引入包Epplus

  • 在项目配置文件引入许可,如.NET Core WebApi项目

    "EPPlus": {
        "ExcelPackage": {
          "LicenseContext": "Commercial" //The license context used
        }
      }
    

文件说明

  • EPPlusHelper:数据转换类
  • ExcelExport:Excel文件导出实现类
  • ExcelImport:Excel文件导入将数据转化为List
  • ExcelExportAttribute:Excel导出工作簿特性
  • ExportColumnAttribute:Excel导出工作簿数据列特性

功能实现说明

  • 导出:

    • 根据数据List按照实体Dto及设置的特性导出数据

    • 导出为byte[]数据流,可以再加工进行输出

  • 导入:接受Excel文件导入转化的Stream文件流,转化为List类型数据进行加工存储

easyepplus's People

Contributors

peihuiyang avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.