如何打印我的数据库然后在打印预览后存储数据 [英] How Do I Print My From Which Stores Data In Database Then After Print Preview

查看:114
本文介绍了如何打印我的数据库然后在打印预览后存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击提交按钮时我有这个表格我的表格数据被保存到sql server数据库但同时当员工点击打印并提交按钮时我怎么能创建打印评论和打印文件以便它可以包含我的内容。

帮帮我



这是我的窗体形状的链接



https://www.dropbox.com/s/80r69yj6yyqrnq4/printing.jpg

i have this form when i click on submit button my form data gets saved into sql server database but at same time when employee click on Print and Submit button how i can create print review & print file so that it can contain my content.
help me

this is link how my windows forms look

https://www.dropbox.com/s/80r69yj6yyqrnq4/printing.jpg

推荐答案

对于打印,你可以根据你的内容创建一个打印的CSS有形式。然后使用window.print()javascript代码。在网络上查找这些主题,您将获得许多条目。

您还可以使用一些报告工具,如免费的RDLC报告格式( http://www.gotreportviewer.com
For printing you could create a CSS "for printing" based on what you have in the form. Then use window.print() javascript code. Look for these topics on the web, you'll get many entries.
You could also use some reporting tool like the free RDLC report format (http://www.gotreportviewer.com)


http://www.c-sharpcorner.com/uploadfile/rahul4_saxena/printing-in-Asp-Net/ [ ^ ]


这篇关于如何打印我的数据库然后在打印预览后存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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