Nahul Antony

Nahul Antony

  • NA
  • 25
  • 16.3k

About Crystal Report

Jul 26 2013 7:13 AM
In Crystal Report When refresh they asking You can provide a single value for this parameter.
enter the value you want to include.

Discrete Values________________


 string strReportPath = "";
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            DataSet ds = new DataSet();
            ds = fnPrintLoanClosed(CNo);          
            strReportPath = Application.StartupPath + "\\Reports\\InterestCalc.rpt";
            rpt.Load(strReportPath);
            rpt.SetDataSource(ds);
            rpt.Refresh();
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.RefreshReport();  ---------------------->                [her they asking discrete values_______________]
            crystalReportViewer1.ShowCloseButton = true;
            crystalReportViewer1.DisplayGroupTree = false;
            crystalReportViewer1.ShowRefreshButton = true;
            crystalReportViewer1.ShowGroupTreeButton = true;
            crystalReportViewer1.ShowPrintButton = true;

Answers (2)