易截截图软件、单文件、免安装、纯绿色、仅160KB

C# 获取文件信息并导出Excel,Xml报表

using System;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
// 添加引用 -> .NET -> Microsoft.Office.Interop.Excel(2003->11.0, 2007->12.0)
namespace WinFormTable
{
    public partial class FormTable : Form
    {
        #region
        private DataTable table;
        private ChineseLunisolarCalendar lunarCalendar;
        #endregion
        public FormTable()
        {
            #region
            InitializeComponent();
            lunarCalendar = new ChineseLunisolarCalendar(); // 中国阴历。
            table = new DataTable("File");
            table.Locale = CultureInfo.InvariantCulture; // 固定区域。
            DataColumn column = table.Columns.Add("Name", typeof(String));
            table.Columns.Add("Length", typeof(Decimal));
            table.Columns.Add("CreationTime", typeof(DateTime));
            table.Constraints.Add("PK", column, true); // 创建主键。
            table.DefaultView.ApplyDefaultSort = true; // 使用默认排序。
            GridViewStyle();
  &nbs


相关文档:

Java与XML联合编程之SAX篇

转自http://www0.ccidnet.com/tech/guide/2001/10/08/58_3392.html
SAX概念
SAX是Simple API for XML的缩写,它并不是由W3C官方所提出的标准,可以说是“民间”的事实标准。实际上,它是一种社区性质的讨论产物。虽然如此,在XML中对SAX的应用丝毫不比DOM少,几乎所有的XML解析器都会支持它。
与DOM比较而言 ......

数据库批量更新,添加!有关XML的操作

得到一个需要处理的XMl
  private string GetSaveItem()
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml("<menuCollection/>");
foreach (TreeNode node in trvAccessRight.CheckedNodes)
{
if (node != trvAccess ......

dom4j(XML的解析)

1.   下载与安装  
   
     
   
  dom4j是sourceforge.net上的一个开源项目,主要用于对XML的解析。从2001年7月发布第一版以来,已陆续推出多个版本,目前最高版本为1.5。  
   
  dom4j专门针对Java开发,使用起来非常简单、直观, ......

10本经典XML及Web相关电子书


XML How to Program

Beginning Xml Databases

Beginning XSLT and XPath Transforming XML Documents and Data

ASP.NET 2.0 XML

XML 手册 4th Edition

XML Schema Complete Reference
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号