水晶报表如何导出Pdf
网上找了,基本没有找到我这样的情况,很是奇怪
别的代码我就不贴了
ReportDocument rptDropshipInvoice = new ReportDocument();
rptDropshipInvoice.Load(MapPath("~/CrystalReport1.rpt"));
rptDropshipInvoice.ReportOptions.EnableSaveDataWithReport = false;
rptDropshipInvoice.SetDatabaseLogon("sa", "birdman", "localhost", "shiyy");
rptDropshipInvoice.VerifyDatabase();
为什么最后的VerifyDatabase()老是提示登录失败,我很不解,