如何获取sql表的打印输出作为条例草案 [英] how to get printout of the sql table as bill

查看:52
本文介绍了如何获取sql表的打印输出作为条例草案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,这是我第一次发布我的问题,并提前致谢.

先生,我已经开发了计费软件,现在我想获取
的打印输出
例如:

Dear sir this is the first time i am posting my question and Thanks in advance.

sir i have developed billing software and now i wanted to get printout of the

Eg:

itemname itemcost itemdisc  total
aaaa     100      40          60

   subtotal:100
       disc:40
       tax:{total+tax(10.3%)}
grand total:66.18rs


因此,您可以帮我提供有关此代码的信息吗.


so can you help me with the code for this.

推荐答案

使用PrintDocument [
Look at using a PrintDocument[^] - the link has an example.
It isn''t difficult, but it can seem a little fiddly, as you have to position text / graphics / lines by code instead of with a designer. It is pretty simple, but it''s worth using a PDF writer or similar as the print device for development!


另一个可能的工具可能是Sql Server Reporting Services.看看 Visual Studio 2010中的Reporting Services和ReportViewer控件 [
Another possible tool could be Sql Server Reporting Services. Have a look at Reporting Services and ReportViewer Controls in Visual Studio 2010[^]


这篇关于如何获取sql表的打印输出作为条例草案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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