hi am new to crystal reporting
i want to export the crystal report and send it in mail attachment
my crystal report has four pages ie four detail section
now i want to export this report to disk
i used the following code but i couldnt find the pdf file in the directory
what could be wrong
plz help me on this regard
rd is nothing but report document
exportpath the path of the directory to which am directing the pdf to get saved

rd.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,exportpath);

is this coding right
if wrong plz help me with right solution
regards
shruthi

I think you must create folder to save pdf report , replace the report extension from .rpt to .pdf and sharing the folder that can be accessed by asp.net user.

Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.