2005中的报表和水晶报表不一样,也是crystal公司开发的吧。不过那个微软的讲师说是微软自己做的。我也不知道。 2005里的报表完全是xml描述的,这点和水晶报表完全不一样。我只看过效果,IE下打印比水晶报表好。至于部署比水晶报表方便很多,只要在服务器端起动 SQL Server Reporting服务就行了(SQL Server 2005).
看了另外一个问题中的解决方案如下描述刚才查了。vs2005不需要合并模块了。1) Start Visual Studio 2005 2) Select File, then click New Project. 3) Choose a language (C#, VB, J#) and select Windows Application. 4) Create your application 5) In the Solution Explorer, right-click the project name, and click Properties 6) Click on the Publish tab, and then click Prerequisites. 7) In the Prerequisites dialog box, under the Choose which prerequisites to install list, select .NET Framework 2.0 and Crystal Reports for .NET. 8) back to the Solution Explorer, right-click the project name, and click Publish... 9) When the Publish Wizard dialog box appears, click Next. 10) In the Will the application be available offline? dialog box, select Yes, this application is available online or offline, and then click Next 11) From the Ready to Publish! dialog box, note the URL where the application is published, and then click Finish. 12) On the client machine, open a Web browser window 13) In the browser's address bar, type the URL of the published Web Site. 14) The Web Site contains links to install and run the Windows application with the prerequisites or without the prerequisites. 15) Click the install link to install the prerequisites on the client machine. 15) Click the install link to install your application on the client machine.
我想要的是.net2005的自帶水晶報表發布模塊,請知悉。
2005里的报表完全是xml描述的,这点和水晶报表完全不一样。我只看过效果,IE下打印比水晶报表好。至于部署比水晶报表方便很多,只要在服务器端起动 SQL Server Reporting服务就行了(SQL Server 2005).
2) Select File, then click New Project.
3) Choose a language (C#, VB, J#) and select Windows Application.
4) Create your application
5) In the Solution Explorer, right-click the project name, and click Properties
6) Click on the Publish tab, and then click Prerequisites.
7) In the Prerequisites dialog box, under the Choose which prerequisites to install list,
select .NET Framework 2.0 and Crystal Reports for .NET.
8) back to the Solution Explorer, right-click the project name, and click Publish...
9) When the Publish Wizard dialog box appears, click Next.
10) In the Will the application be available offline? dialog box, select Yes, this
application is available online or offline, and then click Next
11) From the Ready to Publish! dialog box, note the URL where the application is
published, and then click Finish.
12) On the client machine, open a Web browser window
13) In the browser's address bar, type the URL of the published Web Site.
14) The Web Site contains links to install and run the Windows application with the
prerequisites or without the prerequisites.
15) Click the install link to install the prerequisites on the client machine.
15) Click the install link to install your application on the client machine.