Problem regarding crystal report relative path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swatii
    New Member
    • May 2009
    • 15

    Problem regarding crystal report relative path

    I am developing application in c#.net and I am using crystal reports.
    I want to dynamically load crystal report in report document so that from the same form I can access all the reports. for this i am using

    ReportDocument rept=new ReportDocument( );
    rept.Load("gene bank.inventory_ display");

    using Asp.net we can write server.MapPath( @"genebank/inventory_displ ay")
    to get path of crystal report.what is the way to specify relative path of crystal report in windows application.
Working...