通过C#Windows窗体按钮单击事件打开水晶报表 [英] open a crystal report through C# windows form button click event

查看:104
本文介绍了通过C#Windows窗体按钮单击事件打开水晶报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我目前正在使用C#Windows窗体应用程序,其中有一个处于win窗体的按钮,并且该按钮单击事件应打开一个水晶报表.
我试图通过创建对象来实现这一点,就像打开另一个窗体一样,但是在水晶报表中,它不起作用

任何机构都可以帮助获得解决方案吗?

谢谢与问候
Indrajit Dasgupta

Hi All
I am currently working on C# windows form application where I have a button which is in win form and that button click event should open a crystal report
I m trying to do that by creating object as we do to open another form but in crystal report it is not working

Can any body please help to get the solution

Thanks & Regards
Indrajit Dasgupta

推荐答案

请访问以下网站:
Refer this site: http://csharpdotnetfreak.blogspot.com/2009/07/crystal-reports-in-winforms-parameter.html[^]


只需添加另一个获胜表格然后从Crystal Report工具框中拖放Crystal Report Viewer ...!然后转到Crystal Report Viewer属性,并在其中设置Report源属性,例如您创建的Crystal Report Filename.然后在您需要的按钮单击事件上调用此表单..!
Just Add Another Win Form and there drag and drop a Crystal Report Viewer from the Crystal Report tool box...! then go to Crystal Report Viewer properties and set there Report source property like your Crystal Report Filename which u have created..! and then call to this form on the Button click event where u want..!


这篇关于通过C#Windows窗体按钮单击事件打开水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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