如何使用C#中的Crystal Reports打印账单? [英] how to print a bill using crystal reports in c#?

查看:105
本文介绍了如何使用C#中的Crystal Reports打印账单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai
我正在使用sql server 2005作为后端在C#中开发Windows应用程序.我们如何生成用于以特定格式打印账单的脚本.提供任何用于以这种格式获取账单的示例代码
公司名称
公司地址
公司地址2
密码
电话
--------------------------------------------
帐单编号:123帐单日期:DD/MM/YYYY
客户名称:BILL GATES
客户地址:微软
--------------------------------------------
项目NO1 1000.00
项目NO2 530.00
项目NO3 450.00
第4号项目1.50
项目NO6 2500.00



--------------------------------------------
总计:4481.50
--------------------------------------------
再次感谢您
--------------------------------------------
请帮助
谢谢

hai
i am developing a windows application in C# using sql server 2005 as backend.how can we generate script for printing bill in a specific format.giv any sample codes for getting bill in this format
COMPANY NAME
COMPANY ADDRESS
COMPANY ADDRESS2
PINCODE
TELEPHONE
--------------------------------------------
BILL NO : 123 BILL DATE:DD/MM/YYYY
CUSTOMER NAME : BILL GATES
CUSTOMER ADDRESS : MICROSOFT
--------------------------------------------
ITEM NO1 1000.00
ITEM NO2 530.00
ITEM NO3 450.00
ITEM NO4 1.50
ITEM NO6 2500.00



--------------------------------------------
TOTAL : 4481.50
--------------------------------------------
THANK YOU VISIT AGAIN
--------------------------------------------
pls help
thank you

推荐答案

http://www.codeproject.com/KB/cs/Crystal_Reports_Viewer.aspx

http://www.codeproject.com/KB/cs/CreatingCrystalReports.aspx

阅读此示例...
它对我有用
http://www.codeproject.com/KB/cs/Crystal_Reports_Viewer.aspx

http://www.codeproject.com/KB/cs/CreatingCrystalReports.aspx

read this examples...
it worked for me


打开Crystal报表设计器并使用向导并按照步骤进行操作.如果您有任何特定的东西,请在Google上搜索.
Open crystal report designer and use the wizard and follow the steps. If you have any specific things you want then google them.


您好,

请帮忙处理我的帖子

如何创建Crystal通过一些简单的步骤进行报告

一旦找到有用的答案,就对我的答案进行评分

谢谢&问候
基数:)
Hello,

Please help yourself with my post

How to Create Crystal Report in some easy steps

Do Rate my answer once you find it useful

Thanks & Regards
Radix :)


这篇关于如何使用C#中的Crystal Reports打印账单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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