Sandeep Kumar

Sandeep Kumar

  • 859
  • 683
  • 60.6k

in rdlc report not showing total raw of a datatable

Jun 8 2022 1:20 PM

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();

 

 


Answers (3)