gpt4 book ai didi

c# - 如何在 C# windows 窗体项目中显示 Stimulsoft Report?

转载 作者:太空宇宙 更新时间:2023-11-03 10:34:56 24 4
gpt4 key购买 nike

我正在使用 Stimulsoft用于在我的 C# Windows 项目中报告。

这是我在 C# win 表单项目中的代码:

StiReport report = new StiReport();

report.Load(@"D:\MyReport.mrt");
report.Show();

结果是这样的:

enter image description here

我想知道如何在没有像上图这样的设计器的情况下以 Windows 窗体显示此报告。该报告应显示在我的表格中。那么,是否可以在我的表单中添加任何控件,然后在该查看器控件中显示我的报告?与 CrystalReportViewer 控件相同?我想在我的表格中展示这一点,而不是在其他表格中。

感谢您的帮助...

最佳答案

你应该使用 StiViewerControl。

关于c# - 如何在 C# windows 窗体项目中显示 Stimulsoft Report?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28133997/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com