Click here to Skip to main content
13,900,110 members
Rate this:
Please Sign up or sign in to vote.
See more:
I design a rdlc report with "txtpayee" parameter and a text box with an expressing of
I want to pass the value from my combobox to the textbox in my report. The problem is when i try to do it, it pass the value but not in the textbox instead it creates another page.

What I have tried:

Dim params = New ReportParameter
params.Name = "txtpayee"

With frm_rpt.ReportViewer1
End With
Updated 16-Apr-18 17:29pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You should be able to use SetParameterValue method. Have a look at ReportDocument.SetParameterValue Method (String,Object,String)[^].

Also there are some example in Programmatically Pass Parameters into Crystal Reports from ASP.NET (C#) - Part 1[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190306.1 | Last Updated 16 Apr 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100