我们可以将代码后面的变量传递给晶体报告进行显示 [英] Can we pass variable from code behind to crystal report for display

查看:68
本文介绍了我们可以将代码后面的变量传递给晶体报告进行显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为员工执行工资计算并在水晶报表上显示工资单。工资计算非常复杂,我在后面的代码中执行它。我想要做的是在计算代码后面的最终工资金额后,我想在水晶报告上显示它吗?有没有办法将变量从代码传递到水晶报告?请帮帮我..还有其他任何方法吗?

解决方案

你好,

你是否从Nuget添加了参考?/

http://10rem.net/blog/ 2012/05 /第22 /使用-异步 - 和 - 等待功能于Silverlight的5-和净4合视觉工作室-11-与最异步靶向-PACK [<一个HREF =http://10rem.net/blog/2012/05/22/using-async-and-await-in-silverlight-5-and-net-4-in-visual-studio-11-with-the -async-targeting-packtarget =_ blanktitle =New Window> ^ ]

I need to perform salary calculation for a employee and display salary slip on crystal report.salary calculation is very complex and i am performing it in code behind.what i want to do is after calculating the final salary amount in code behind ,i want to display it on crystal report?Is there any way to pass variable from code behind to crystal report?Please help me..is there any other method to do so?

解决方案

hello ,
have you added refrence from Nuget ?/
http://10rem.net/blog/2012/05/22/using-async-and-await-in-silverlight-5-and-net-4-in-visual-studio-11-with-the-async-targeting-pack[^]


这篇关于我们可以将代码后面的变量传递给晶体报告进行显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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