How to set crystal report path in exe
How to set crystal report path in exe
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Jan 9, 2012, 2:05 AM
If it's a web application
report.Load(Server.MapPath("Report1.rpt"));
else if it's a windows application
report.Load(Application.StartupPath + "Report1.rpt");
Pravin GhadgePosted Jan 9, 2012, 2:01 AM
Application.StartupPath+"urreportname.rpt"