User1711366110 posted
i need using report viewer tool and get details,
how to pass the value in reportviewer(rdlc)
As per this case, you can pass the parameter value to rdlc by using C# like below :
Dataset ds= GetData(); //get your database value to dataset here
ReportDataSource datasource = new ReportDataSource("dsname", ds.Tables[0]);
ReportParameter[] param = new ReportParameter[1];
param[0] = new ReportParameter("ParamName", Textbox176.Text.Trim());
reportViewer1.ProcessingMode = ProcessingMode.Local;
reportViewer1.LocalReport.ReportPath = Server.MapPath("~/Report.rdlc");
reportViewer1.LocalReport.SetParameters(param);
reportViewer1.LocalReport.DataSources.Clear();
reportViewer1.LocalReport.DataSources.Add(datasource);
reportViewer1.RefreshReport();
Further any queries ,please provide your workout code which may help us to resolve the issue.
--
with regards,
Edwin