首页> 中文期刊> 《测控技术》 >VS.net中用后台线程向Excel中导入数据的研究

VS.net中用后台线程向Excel中导入数据的研究

         

摘要

Excel is one of the most popular reporting software. It has various functions and is widely used. Im porting data into Excel with the Windows program is in line with people' s operating habits. Although it' s not difficult to have an Excel reporting form on the VS. Net platform, there are still some aspects that deserves at tention. Firstly the approach to import data from database to Excel on VS. Net platform is described, then the use of BackgroundWorker control according to users' experience is introduced in order to avoid the phenome non of interface delay. How to immediately release the occupied resources by the garbage collection mechanism is also discussed. The above mentioned approaches and techniques in the development of information manage ment system on VS. Net platform are of high practical value.%Excel是最常用的报表软件之一,它功能强大、使用广泛.Windows程序开发中将数据导成Excel报表,符合人们的操作习惯.虽然从VS.net平台生成Excel报表并不是一件困难的事,但还存在一些需要注意的问题.首先介绍了在VS.net环境下从数据库将数据导入Excel的方法,而后针对改善用户体验,避免用户界面出现延迟的现象,讨论和介绍了BackgroundWorker控件的使用方法,以及如何利用垃圾回收机制立即释放所占用的资源.以上方法和技巧在开发VS.net信息管理系统中具有很高的实用价值.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号