I have a datatable which i can show in rdlc report.but i in datatable contains three raw but showing only 2 raws in rdls ,why
string FinYear = ddlFinYear.SelectedValue; int Month = Convert.ToInt32(ddlmonth.SelectedValue); string ContractorName = ddlparty.SelectedValue; //int ContractorId = Convert.ToInt32(ddlparty.SelectedValue); string frmdt = txtfromDt.Text.Trim(); string todt = txtTodt.Text.Trim(); DataTable dt = new DataTable(); dt = OutStandingDetails.GetOutStandingDetailsReports(FinYear, Month, ContractorName, frmdt, todt); ReportViewer1.ProcessingMode = ProcessingMode.Local; ReportViewer1.LocalReport.ReportPath = Server.MapPath("~/RPT/OutStandinfdetails.rdlc"); ReportDataSource datasource = new ReportDataSource("DataSet1", dt);
ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(datasource); ReportViewer1.LocalReport.Refresh();