如何在asp.net中使用c sharp在web浏览器中运行crystal报表 [英] how to run the crystal report in web browser using c sharp in asp.net

查看:72
本文介绍了如何在asp.net中使用c sharp在web浏览器中运行crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个水晶报告并且输出显示正确。



但是我希望水晶报告在运行模式屏幕的网络浏览器中显示。 />


如何使用csharp。

解决方案





请看下面的代码我认为这可能对你有帮助...





  string  ReportPath =  报告的路径; 
string ReportParameters_XML = < parameters> +
< staticparam name = Proj_Code value = + Proj_Code + type = Varchar /> +
< /参数>中;

// 这样你传递SP参数值这里proj_code是我的参数,你可以传递你自己的参数...





你可以重定向你的页面来传递这个参数细节......


i have done a crystal report and output is showing correctly.

But i want the crystal report to be shown in web browser in run mode screen.

how can i do using csharp.

解决方案

Hi,

Please see the below code i think this might be helpfull to you...


 string ReportPath ="Path of the report";
string ReportParameters_XML ="<parameters>" +
       "<staticparam name="Proj_Code" value="" + Proj_Code + "" type="Varchar" />" +
"</parameters>";

// like this you pass your SP parameter values here proj_code is my parameter, you can pass your own parameters...



you can redirect your page to pass this paramter details...


这篇关于如何在asp.net中使用c sharp在web浏览器中运行crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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