如果将带有Crystal Report的asp.net Web应用程序运行到具有远程桌面的其他桌面(其他国家/地区),我们该怎么办. [英] what we do if runs asp.net web application with Crystal Report to other desktop(other country) with remote desktop.

查看:73
本文介绍了如果将带有Crystal Report的asp.net Web应用程序运行到具有远程桌面的其他桌面(其他国家/地区),我们该怎么办.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果将带有Crystal Report的asp.net Web应用程序运行到具有远程桌面的其他桌面(其他国家/地区),我们该怎么办.

what we do if runs asp.net web application with Crystal Report to other desktop(other country) with remote desktop.

推荐答案

请检查您提供的路径水晶报表,请按照以下说明操作可能会对您有所帮助.从项目中复制rpt文件,并在C驱动器的客户端PC中创建一个名为rpt的文件夹,然后在app.config文件中执行以下操作

please check path you have given of crystal report and do as following it might help you. Copy your rpt files from your project and make one folder of name rpt in client pc on c drive and do followingin app.config file

<add key="rptpath" value="C:\\rpt" />



并在要显示报告的表格上进行



and do on form on which you are showing report

rptpath = ConfigurationManager.AppSettings["rptpath"] + "\\" +"your report.rpt";
   obj.Load(rptpath)



在执行上述所有操作之前,请右键单击解决方案资源管理器中的Crystal报表,然后将属性copy设置为输出目录以始终复制



before doing all above things right click on crystal report from solution explorer and and set property copy to output directory to copy always


这篇关于如果将带有Crystal Report的asp.net Web应用程序运行到具有远程桌面的其他桌面(其他国家/地区),我们该怎么办.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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