or
rptAccLedgerReport myReport = new rptAccLedgerReport();myReport.prm1.Value = "A/c:" +vAccName;myReport.prm2.Value = "From: " + vFromDate + " To: " + vToDate;rptAccLedger rptSource = new rptAccLedger();myReport.DataSource = rptSource.dataSource(vAccNo,vFromDate,vToDate);rptViewer.Report = myReport; //Set report to reportviewer control
//Here prm1 is text box name and i make it public
When i debug it value is set in text box but when report is rendered value is not displayed
i also try this
but it does not work
Please help me what is my mistake?