ANN:ReportHelper Component |
|
code6421
版主 發表:43 回覆:223 積分:208 註冊:2002-08-16 發送簡訊給我 |
由於DELPHI 8並未附帶Crystal Report,
因此我寫了這個元件,讓DELPHI 8 可以使用
Crystal Report. samples.
ReportHelper1.GenerateReport(Self,Server.MapPath('CrystalReport1.rpt')); Response.ContentType := 'application/pdf'; Response.WriteFile(Server.MapPath('\report\CrystalReport1.pdf')); Response.Flush; //Response.End; //delphi.net complier bug,can't complied.http://www.dreams.idv.tw/~code6421/files/CrystalReportLib.zip Full Source Included (C#,VS.NET 2003) Notes. 1.you need Report Designer,like VS.NET,C# Buidler or Crystal Report Pro. 2.you need create sub-directory 'report' in virtual directory. 3.in IIS,you need grant IIS_WPG user write permission of report directory. Just coding... Taiwan:http://code6421.ktop.com.tw China:http://home.hoolee.com/~code6421 發表人 - code6421 於 2004/03/20 14:09:15 發表人 - code6421 於 2004/03/20 14:12:43
------
Just codeing... |
bear28
一般會員 發表:44 回覆:53 積分:19 註冊:2002-09-10 發送簡訊給我 |
|
code6421
版主 發表:43 回覆:223 積分:208 註冊:2002-08-16 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |