中文核心期刊
CSCD来源期刊
中国科技核心期刊
RCCSE中国核心学术期刊

Journal of Chongqing Jiaotong University(Natural Science) ›› 2011, Vol. 30 ›› Issue (3): 507-510.DOI: 10.3969/j.issn.1674-0696.2011.03.38

Previous Articles     Next Articles

Design and Implementation of Template Web Data Export

WANG Jia??wei, HUANG Kun, WANG Ren??hong   

  1. School of Information Sciences and Eng inee ring, Chongqing Jiaotong University, Chongqing 400074, China
  • Received:2011-01-24 Revised:2011-03-09 Online:2011-06-15 Published:2015-03-12

一种模版化的Web数据导出方法的设计与实现

王家伟, 黄?? 坤, 罗?? 宪, 汪仁红   

  1. 重庆交通大学信息科学与工程学院, 重庆400074
  • 作者简介:王家伟(1971—),男,四川达川人,副教授,主要从事数据库研究方面的工作。E-mai:l495826001@163.com。
  • 基金资助:
    重庆市攻关项目(2010AC2077)

Abstract: In B/SMode, exporting data to excel is usually realized by some common data controls in C#, however, the exporting format of data and the style of report are hard to control.Implementing process of exporting data to excel based on WebDataWindowControl of DataWindow.NET was in troduced.In this way, data including some complicate style of report could be exported to exc l exactly without data container like DataSet to store data.

Key words: Data Window. NET, data exporting, template, reportforms

摘要: B/S模式下,C#中通常是利用一般数据控件实现数据导出到Excel中,但数据导出格式以及报表样式不易控 制。介绍了以DataWindow.NET中的WebDataWindowControl为基础实现数据导出到Excel的过程和方法。该方法 可以准确无误地导出页面数据,包括复杂的表格样式,且无需类似于DataSet的数据容器来暂存即将导出的数据。

关键词: DataWindow.NET, 数据导出, 模版, 报表

CLC Number: