带有表格的VS2010中的Word文档2007 [英] Word document 2007 in VS2010 with tables

查看:87
本文介绍了带有表格的VS2010中的Word文档2007的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试用表格查找2007年的单词示例,因为我正在阅读msdn网页上的信息而我遇到了问题。那么,您能否向我推荐一个可以创建单词表的示例,并且在每个框中您可以在此期间写入Windows窗体的TextBox
的数据?


Word文档打开时可以写吗?我不这么认为。


非常感谢!

解决方案

问题是我不知道知道我需要多少行,因为我得到数据的时间不同。

我需要4列和很多行,有没有办法可以写4个数据。写很多表(1row,4columns)将是一个可行的
解决方案?


另一个问题,我该怎么办?画边界?我写了oTable.Columns [2] .Borders.Shadow = true;它绘制得很好但会出现错误。


Thanks!


Hi all, I'm trying to find examples for word 2007 with tables, because I'm reading information in the msdn web and I'm having problems. Please, can you refer me to an example that you can create a word table and in each box you can write the data of a TextBox of a Windows Form during the time?

And it would be possible to write when the Word document is opened? I don't think so.

Thanks very much!

解决方案

The problem is that I don't know how many rows I need because the time I get data is different.

I need 4 columns and a lot of rows, is there a way I can write 4 data. Write a lot of tables (1row,4columns) will be a viable solution?

Another question, how can I draw borders? I write oTable.Columns[2].Borders.Shadow=true; it draws well but then an error appears.

Thanks!


这篇关于带有表格的VS2010中的Word文档2007的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆