private void GenerateSummaryReport()
        {
            ReportBLL cls     = new ReportBLL();
            string    rptName = "";

            if (chkDetails.Checked == true)
            {
                rptName = "CashierWiseSaleDetail";
            }
            else
            {
                rptName = "CashierWiseSaleSummary";
            }
            LocalReportManager reportManager = new LocalReportManager(rptViewer, rptName, ConfigurationManager.AppSettings["ReportNamespace"].ToString(), ConfigurationManager.AppSettings["ReportPath"].ToString());
            ReportCriteria     criteria      = new ReportCriteria();

            BuildCriteria(criteria);
            List <ReportEntity> lstData = ReportBLL.GetCashierWiseSale(criteria);

            ReportDataSource dsGeneral = new ReportDataSource("dsReportData", lstData);

            reportManager.AddParameter("FromDate", txtFromDt.Text.Trim());
            reportManager.AddParameter("ToDate", txtToDt.Text.Trim());
            reportManager.AddDataSource(dsGeneral);
            reportManager.Show();
        }