• 大小: 18.94M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: Aspose  Word  POS  asp  C#  

资源简介

C# Aspose.Word导出Word实例,可以直接下载运行,我做了假数据处理。欢迎大家下载使用,不懂的问题,我的CSDN博客也有对操作word进行分析。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Aspose.Words;
using System.Web;


namespace Aspose.Word导出word实例
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        #region 导出word按钮
        private void ExportToWordBtn_Click(object sender EventArgs e)
        {
            try{

                SaveFileDialog sfd = new SaveFileDialog();                        //实例化保存文件的方法
                string nowTime = DateTime.Now.ToString(“yyyyMMddHHmmss“);         //时间戳在文件名后在后缀名前添加
                sfd.Filter = “Word文件|*.doc“;          

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\
     文件    11217920  2017-06-09 14:43  Aspose.Word导出word实例\Aspose.Word导出word实例\Aspose.Words.dll
     文件        5924  2017-10-16 12:09  Aspose.Word导出word实例\Aspose.Word导出word实例\Aspose.Word导出word实例.csproj
     文件         478  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\Aspose.Word导出word实例.csproj.user
     文件        7394  2017-10-16 10:26  Aspose.Word导出word实例\Aspose.Word导出word实例\Form1.Designer.cs
     文件       12609  2017-10-16 12:22  Aspose.Word导出word实例\Aspose.Word导出word实例\Form1.cs
     文件        5817  2017-10-16 10:26  Aspose.Word导出word实例\Aspose.Word导出word实例\Form1.resx
     文件         519  2017-10-16 10:23  Aspose.Word导出word实例\Aspose.Word导出word实例\Program.cs
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\
     文件    11217920  2017-06-09 14:43  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\Aspose.Words.dll
     文件        1484  2017-10-16 10:13  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\AssemblyInfo.cs
     文件        2882  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\Resources.Designer.cs
     文件        5612  2017-10-16 10:13  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\Resources.resx
     文件        1110  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\Settings.Designer.cs
     文件         249  2017-10-16 10:13  Aspose.Word导出word实例\Aspose.Word导出word实例\Properties\Settings.settings
     文件         144  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\app.config
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\
     文件    11217920  2017-10-10 14:26  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Words.dll
     文件       16896  2017-10-16 12:21  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.exe
     文件         144  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.exe.config
     文件       28160  2017-10-16 12:21  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.pdb
     文件       11600  2017-10-16 12:21  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.vshost.exe
     文件         144  2017-10-16 12:05  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.vshost.exe.config
     文件         490  2010-03-17 22:39  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\Aspose.Word导出word实例.vshost.exe.manifest
     文件       25114  2017-10-16 11:19  Aspose.Word导出word实例\Aspose.Word导出word实例\bin\Debug\项目建议书模板.doc
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\obj\
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\obj\x86\
     目录           0  2017-10-16 12:23  Aspose.Word导出word实例\Aspose.Word导出word实例\obj\x86\Debug\
     文件    11217920  2017-06-09 14:43  Aspose.Word导出word实例\Aspose.Word导出word实例\obj\x86\Debug\Aspose.Words.dll
............此处省略13个文件信息

评论

共有 条评论