Example #1
0
        private void showReport()
        {
            ctrShipping cryRpt = new ctrShipping();

            cryRpt.SetDataSource(dtShipping());
            cryRpt.SetParameterValue("Company", DBConnString.sDb);
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Show();
        }