如何在运行时将参数传递给RDLC报告Asp.net [英] How to pass parameter at run time to RDLC report Asp.net

查看:96
本文介绍了如何在运行时将参数传递给RDLC报告Asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
我必须创建Rdlc报表,我要在其中打印登录的用户名或打印报表.所以我将如何在运行时传递用户名参数.

解决方案

在会话中输入用户名和
将会话值传递给reportparamter.

在rdlc中的特定文本框中设置此参数值

Hi..
I have to create Rdlc report where i want to print user name who is logged in or printing report. so how would i pass user name parameter at run time.

解决方案

Put username in Session and
pass session value to reportparamter.

in the rdlc set this parameter value in the specific textbox


这篇关于如何在运行时将参数传递给RDLC报告Asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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