将数据从Windows窗体传递到现有的单词模板并打印 [英] Pass Data from Windows Form to existing word template and Print

查看:58
本文介绍了将数据从Windows窗体传递到现有的单词模板并打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计了一种表格,其中将数据保存在数据库中之后,我想打印某些值,例如客户名称,编号,公司形象等.我已经准备了Word文档.我想将数据传输到Word文档,然后打印.
怎么做????

在此先感谢!!! ..................

I have designed a form in which after saving the data in the Database, I want to print Certain Values such as Customer Name, Number, Company Image, etc. I have already prepared a word document. I want to transfer data to the word document and then print.
How can it be done ????

Thanks in Advance !!!..................

推荐答案

如果要导出某些数据,其值在字段,为什么不将其导出到excel呢?
此代码项目文章将为您提供帮助:
使用XSL的Excel导出组件 [
If you are exporting some data with values in fields, why not export it to excel instead??
This codeproject article will help you:
Excel Export Component Using XSL[^]


这应该助您一臂之力: http://support.microsoft.com/kb/316384 [
This should get you going: http://support.microsoft.com/kb/316384[^]


这篇关于将数据从Windows窗体传递到现有的单词模板并打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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