惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
L
LINUX DO - 最新话题
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
Webroot Blog
Webroot Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
S
Schneier on Security
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Tor Project blog
Know Your Adversary
Know Your Adversary
S
Secure Thoughts
Project Zero
Project Zero
Hacker News: Ask HN
Hacker News: Ask HN
C
Cisco Blogs
K
Kaspersky official blog
Google DeepMind News
Google DeepMind News
N
News | PayPal Newsroom
V
Vulnerabilities – Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
C
Cyber Attacks, Cyber Crime and Cyber Security
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
The Last Watchdog
The Last Watchdog
D
DataBreaches.Net
W
WeLiveSecurity
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
Y
Y Combinator Blog
TaoSecurity Blog
TaoSecurity Blog
AWS News Blog
AWS News Blog
T
Threat Research - Cisco Blogs
大猫的无限游戏
大猫的无限游戏
I
InfoQ
Cloudbric
Cloudbric
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Forbes - Security
Forbes - Security
Attack and Defense Labs
Attack and Defense Labs
The Cloudflare Blog
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
Cyberwarzone
Cyberwarzone

博客园 - YiStudio

在Word中插入图片 DataGridView多列排序 将Word嵌入到自己的程序中 一个非常不错的压缩组件 免费的国产报表Grid++Reprot 使用NSIS制作安装包(2) 使用NSIS制作安装包(1) SharpDevelop2.0 用Firebird .NET Data Provider编写.NET应用程序(2) 用Marathon管理Firebird数据库(2) 用Firebird .NET Data Provider编写.NET应用程序(1) 用Marathon管理Firebird数据库(1) Firebird简介 NDoc修改手记(三) NDoc修改手记(二) NDoc修改手记(一) WebForm中将DataGrid中导出数据的方法 FxCop 动态加载类(动态加载DLL文件)
EXCEL2003中使用XML
YiStudio · 2005-05-20 · via 博客园 - YiStudio

微软的Office2003发布已经很久了,这个版本最让人感到方便的是对XML更好的支持,这一点对于Office的用户来说会非常的方便,尤其是其中的EXCEL对XML的支持就更让人喜欢了。作为一个程序员,我想说说它给我们带来了什么。
 
先简单的说一下在EXCEL中使用XML文件作为数据源。操作非常的简单,在EXCEL中按下面的步骤操作:先添加一个XML映射,数据->XML->XML源,在打开的对话框中点击“XML映射”按钮,选择一个XSD文件(也就是XML架构文件);接着将XML源对话框中显示的字段拖到工作表中;然后,数据->XML->导入,添加一个符合已加载XML架构的XML数据文件,就可以看到数据了。
 
通过上面的描述,我们想到了什么。对,我们可以将这个过程应用到我们的程序中。那么,这样做又有什么好处呢?
 
在开发过程中,我们可能都遇到过这样的问题:项目开发过程中,客户需求中涉及了非常多的报表,而且其中的一些可能在今后会发生变化,怎么办?尤其是那些格式要求非常严格的的报表。一般情况下,我们都会先完成目前的,以后发生变化了再说。然而,现在我们可以通过EXCEL2003来解决这个问题。
 
上面提到的在EXCEL2003中使用XML作为数据源的操作非常的简单,所以我们完全可以将它交给我们的客户。让客户来制作报表的EXCEL模板,然后我们在程序中提供数据就可以了。
 
具体的过程可以参考http://www.microsoft.com/china/msdn/library/office/office/odcxlExcel2003XMLIntro.mspx

posted on 2005-05-20 11:30  YiStudio  阅读(1325)  评论()    收藏  举报