2
Answers

About Crystal Report

Nahul Antony

Nahul Antony

11y
1.2k
1
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)