0
は私のCrystalレポートをApplication.StartupPath
とbinフォルダの外側に配置されている - 木のフォルダに:検索レポートファイルやbinフォルダ
MainFolder
- CrystalReport_here_which_is_Sales_report.rpt
bin 'folder
- DebugFolder
- inside debug folder is the application startup
私はこのコードを使用しますが、ファイルを見つけることができません - どうすれば解決できますか?
rpt.Load(Application.StartupPath & "\Sales_Report.rpt")
デバッグしながら実行する場合は、あなたのデバッグフォルダ内のレポートをポップ。 – Bugs