Click here to Skip to main content
13,409,770 members (38,275 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Dear all,
I code:
        Dim rptS As New ReportDataSource
        rptS.Name = "DataSet1"
        rptS.Value = binSource
        rptViewer.LocalReport.ReportEmbeddedResource = "QLAnChi." & strRptName & ".rdlc"
        rptViewer.LocalReport.EnableExternalImages = True
        Dim para As New List(Of ReportParameter)
        For i As Integer = 0 To strPar.Length - 1
            para.Add(New ReportParameter(strPar(i), strVal(i)))

The details of report is refresh but the parameters dose not refresh after data is changed.
Pls help me!
Posted 13-Jun-12 1:02am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can make use of the "insert snippet" of Visual Basic.
I have done this and help you as soon as I find the code.
Nguyễn Minh Phúc 13-Jun-12 7:48am
Thanks for reply!
I am waiting you, pls help me as soon as you can!
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I have added
at the near last line but it still was not solved! I have show messagebox which data fill in parameter to check data, it's all correct but parameter values in report were still not changed!
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Thanks for rely i have done by myself!
archanakumari 28-Nov-12 1:43am
How You Solved the Above Problem.Can u Explain me iam also facing the Same Problem.How to reset the Parameters in rdlc Reports.

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 |
Web04 | 2.8.180221.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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