现有的Crystal报告到ASP.NET
问题描述:
嗨
我已经使用Crystal Report 8创建了一个Crystal报表.现在,我想创建一个使用VB显示该报表的网站.
主要是使报告可以在Web(Intranet)上访问.
我是VB新手.请帮忙.
另外,我的这份报告有25列,因此布局为横向".
提前谢谢.
Piya
Hi
I have a crystal report already created using crystal report 8. Now I want to make a website which displays this report using VB.
The main is to Make the report accessible on web(Intranet).
I am new to VB. Please help.
Also this report of mine has 25 columns and so the layout is "Landscape".
Thanks in advance.
Piya
答
看看这些文章.这些应该可以帮助您并继续前进:
愚蠢的Crystal Reports指南,第二部分-Web Apps [快速将报告添加到您的网站 [在ASP.NET中显示,导出和打印Crystal报表 [使用其功能组,图形,交叉表和子报表逐步创建Crystal报表 [ ^ ]
Have a look at these articles. These should help you out and get going:
Idiot''s Guide to Crystal Reports, Part II - Web Apps[^]
Quickly add reports to your website[^]
Displaying , Exporting and Printing Crystal Reports in ASP.NET[^]
Step by Step Creation of Crystal Report using its Features Group, Graph, Cross-Tab and Sub Report[^]
您可以将相同的报告文件用于Web,但是如果需要,可能需要更改数据库连接.看看这些对您来说是必须的.
从vb6独立应用程序转换Crystal报表的问题到.net Web应用程序 [如何更改Crystal Report' [ ^ ]
对于风景报告,您需要在代码中添加以下行.
You can use the same report files for web but possibly you need to change database connection if needed. Take a look these which is must for you.
Problems converting crystal reports from vb6 standalone app to .net web app[^]
How do I change a Crystal Report''s ODBC database connection at runtime?[^]
For Landscape report you need to add the below line in code.
report.PrintOptions.PaperOrientation = PaperOrientation.Landscape
以纵向方式打印的横向Crystal报告 [ ^ ]
Landscape Crystal Report printed in Portrait[^]