TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sai Ram
NA
237
116.1k
Crystal Reports
Nov 3 2011 8:42 AM
Hi. I am using Report path in the .cs file as follows...but after exporting report, my current directory changes to exporting report and after this, generating a report an "Report Load Failed" Message coming...what should i do..
string cwd = System.IO.Directory.GetCurrentDirectory();
if (cwd.EndsWith("\\bin\\Debug"))
{
cwd = cwd.Replace("\\bin\\Debug", "\\AuditReports\\Audit.rpt");
}
else
{
cwd += "\\AuditReports\\Audit.rpt";
}
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(cwd);
Reply
Answers (
4
)
How to use LINKLABLE TO CALL FORMS
foreach passes object by value?