计算机与现代化 ›› 2010, Vol. 1 ›› Issue (02): 130-132.doi:

• 应用与开发 • 上一篇    下一篇

海量数据导出Excel的方法与实现

刘振声   

  1. 郑州信息工程大学测绘学院,河南 郑州 450002
  • 收稿日期:2009-08-31 修回日期:1900-01-01 出版日期:2010-02-12 发布日期:2010-02-12

Method and Implementation of Massive Data Export in Excel Format

LIU Zhensheng   

  1. School of Surveying and Mapping, Zhengzhou Information Engineering University, Zhenzhou 450002, China
  • Received:2009-08-31 Revised:1900-01-01 Online:2010-02-12 Published:2010-02-12

摘要:

在开发软件的过程中发现,在多条件查询后由软件一次性导出大量(海量级)数据为Excel格式时,如果选用开源组件Biff8能提高导出效率,并且能避免常规导出方法中产生的错误和弊端。本文主要通过实例,介绍了数据导出部分的设计要求、界面设计要求和代码的实现方法。

关键词: 海量, 数据库, 导出, Excel

Abstract:

During the process of software development, the author discoveres that when a massive amount of data is exported in Excel format by the software after a multicriteria query, the choice of the opensource component Biff8 can improve the efficency of data export while avoiding errors and shortmings of conventional export methods. This paper illustrates through an example by introducing the functional requirements of the data export module, its user interface requirements, and its coding implementation. 

Key words: massive data, database, data export, Excel