c# - Get report path from project folder in win-forms -


i crystal report winforms app drive:

 rpd.load("c:\\emprep\\crystalreport1.rpt"); 

i want load project folder, error. how can fix this?

 rpd.load("reports\\crystalreport1.rpt"); 

try code:

rpd.load(application.startuppath + "\\reports\\crystalreport1.rpt"); 

Comments

Popular posts from this blog

elasticsearch python client - work with many nodes - how to work with sniffer -

angular - Is it possible to get native element for formControl? -

Upload file with tags through OwnCloud or NextCloud API -