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
Post a Comment