C#读取Word表格中的数据
2011-11-10 09:11
441 查看
using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Text;
7using System.Windows.Forms;
8using Interop.Word;
9
10namespace DataAccessTest
11{
12{
14{
16{
21{
32{
40{
42{
47 if( doc != null ) doc.Close(ref missing, ref missing, ref missing);
48 cls.Quit(ref missing, ref missing, ref missing);
49 }
50 }
51 }
52}
引用的dll http://files.cnblogs.com/liguancong/Interop.Word.rar
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Text;
7using System.Windows.Forms;
8using Interop.Word;
9
10namespace DataAccessTest
11{
12{
14{
16{
21{
32{
40{
42{
47 if( doc != null ) doc.Close(ref missing, ref missing, ref missing);
48 cls.Quit(ref missing, ref missing, ref missing);
49 }
50 }
51 }
52}
引用的dll http://files.cnblogs.com/liguancong/Interop.Word.rar
相关文章推荐
- 【20090313-01】C#读取Word表格中的数据 (转)
- C# 读取Word 表格数据(单元格纵合并)
- 使用C#读取Word表格数据
- C#读取Word表格中数据的完整代码
- C#调用NPOI组件读取excel表格数据转为datatable写入word表格中并向word中插入图片/文字/书签 获得书签列表
- C#读取Word表格中的数据 (转)
- C#调用NPOI组件读取excel表格数据转为datatable写入word表格中并向word中插入图片/文字/书签 获得书签列表
- C#读取Word表格中的数据
- C#读取Word表格中的数据 (转)
- C#读取Word表格数据
- C#读取Word表格中的数据 (转)
- [原]C# 读取Word 表格数据(单元格纵合并)
- Delphi读取不Word中不规则表格数据并转换成标准表格
- C# 操作Word书签(二)——插入图片、表格到书签;读取、替换书签
- C# 读取word文档数据粘贴全部
- c#读取Execl表格数据
- C#实现Word中表格信息读取
- C#CAD二次开发读取CAD表格数据
- (转)如何利用书签向word文档读取或写入数据[C#]
- C#实现Word中表格信息读取