Click here to Skip to main content
15,887,928 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
I have one issue to pass the parameter into Report viewer Header

My Scenario is I select two date (from Date and End Date). Data is populate and work fine. But I could not insert the date like (Sales Report From : .... To)
Date is text box. My Question is How to pass this date into report viewer head
Pls Help me.

Maideen
Here is my is code

ReportViewer1.ProcessingMode = ProcessingMode.Local
ReportViewer1.LocalReport.ReportPath = Server.MapPath("Bill_instruction_Report.rdlc")
Dim dsReport As Bill_Instrucation_DataSet = GetDataNew()
Dim datasource As New ReportDataSource("DataSet1", dsReport.Tables(1))
ReportViewer1.LocalReport.DataSources.Clear()
ReportViewer1.LocalReport.DataSources.Add(datasource)
Posted

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900