C# 如何使用Visual Studio 2019在Crystal Report中打开导出的文件?
我已经使用Crystal Report和Visual Studio导出了一个文档,它工作得很好,我的问题是,是否可以在导出后直接打开导出的文件 我的意思是,有没有办法访问该文件并使用C#代码在(Chrome、Microsoft Edge)中打开它来打印它C# 如何使用Visual Studio 2019在Crystal Report中打开导出的文件?,c#,crystal-reports,visual-studio-2019,C#,Crystal Reports,Visual Studio 2019,我已经使用Crystal Report和Visual Studio导出了一个文档,它工作得很好,我的问题是,是否可以在导出后直接打开导出的文件 我的意思是,有没有办法访问该文件并使用C#代码在(Chrome、Microsoft Edge)中打开它来打印它 谢谢。请看第15页底部:您能给我发一张截图而不是链接吗? CrTables = cryRpt.Database.Tables; foreach (CrystalDecisions.CrystalReports.
谢谢。请看第15页底部:您能给我发一张截图而不是链接吗?
CrTables = cryRpt.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
{
crtableLogoninfo = CrTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
CrTable.ApplyLogOnInfo(crtableLogoninfo);
}
// Refresh the Report
cryRpt.Refresh();
// Set the ReportSource
crysview.ViewerCore.ReportSource = cryRpt;