csweb_ClientPrinting

所属分类:浏览器
开发工具:C#
文件大小:111KB
下载次数:5
上传日期:2006-04-14 14:20:12
上 传 者luozhitao
说明:  c#代码,我调试有错误,哪位给我看一下啊
(c# code, I debug a mistake, which I look at the ah)

文件列表:
csweb_ClientPrinting\AssemblyInfo.cs (2781, 2003-12-22)
csweb_ClientPrinting\csWeb_ClientPrinting.csproj (9560, 2004-03-04)
csweb_ClientPrinting\csWeb_ClientPrinting.csproj.webinfo (161, 2004-03-05)
csweb_ClientPrinting\csWeb_ClientPrinting.sln (997, 2004-03-05)
csweb_ClientPrinting\csWeb_ClientPrinting.suo (6656, 2004-03-05)
csweb_ClientPrinting\Global.asax (87, 2003-12-22)
csweb_ClientPrinting\Global.asax.cs (1457, 2003-12-22)
csweb_ClientPrinting\Global.asax.resx (1733, 2002-01-29)
csweb_ClientPrinting\Web.config (5136, 2003-12-22)
csweb_ClientPrinting\WebForm1.aspx (2137, 2004-01-27)
csweb_ClientPrinting\WebForm1.aspx.cs (6089, 2004-01-27)
csweb_ClientPrinting\WebForm1.aspx.resx (5317, 2003-12-23)
csweb_ClientPrinting\World Sales Report.cs (9508, 2003-12-22)
csweb_ClientPrinting\World Sales Report.resx (1733, 2002-01-29)
csweb_ClientPrinting\World Sales Report.rpt (261120, 2003-10-29)
csweb_ClientPrinting\源码、源代码下载--点内源代码.url (116, 2005-11-21)
csweb_ClientPrinting (0, 2004-03-04)

________________________________________________________________ Business Objects Support - cr10_csharp_web_ClientPrinting.exe Web Site: http://www.businessobjects.com ________________________________________________________________ PRODUCT VERSION The minimum requirements for this application are: Microsoft C# .NET 2002 and Crystal Reports 10 Developer/Advanced or above. For upgrade Information please refer to the “CSharp Web Sample Descriptions” document. ________________________________________________________________ DESCRIPTION This sample C# ASP.NET Web application demonstrates how to use the viewer's PrintMode property to specify how client-side printing is to function. The PrintMode property allows client-side printing using a PDF solution, or an ActiveX control solution. The PDF solution involves displaying a pop-up browser window with Print options to select the page range to print. Once the page range is selected and the Print button is clicked, the report is exported to PDF format on the server, and streamed back to the client and displayed in the pop-up browser window. The ActiveX solution involves downloading and installing a small client-side ActiveX control that will display a Print dialog that contains the printer drivers configured on the client's machine. Once a printer is selected, the report is printed to that printer. A small window displays the status of the report being printed. NOTES: The following are known issues with this sample application: When using the ActiveX option, the small pop-up window cannot be disabled or modified. The ActiveX solution will require a postback for each page being printed. ________________________________________________________________ FILES AssemblyInfo.cs csWeb_ClientPrinting.csproj csWeb_ClientPrinting.csproj.webinfo csWeb_ClientPrinting.sln Global.asax Global.asax.cs Global.asax.resx readme.txt Web.config WebForm1.aspx WebForm1.aspx.cs WebForm1.aspx.resx World Sales Report.cs World Sales Report.resx World Sales Report.rpt ________________________________________________________________ INSTALLATION 1. After extracting the contents of this Zip file to the default installation folder, C:\Crystal\CRNET\cr10_csharp_web_ClientPrinting, create a virtual directory called 'CRNETSamples' for this application: =========== NOTE: If you already created the 'CRNETSamples' virtual directory for previous samples, the following steps may not be necessary. =========== To create a virtual directory: a) From the Start menu, select Run, and type 'inetmgr'. Click 'OK' to load the IIS Manager. b) Expand the server node, and right-click on 'Default Web Site'. Select 'New' | 'Virtual Directory'. c) Click the 'Next' button on the Virtual Directory Creation Wizard. d) In the 'Alias' textbox, enter 'CRNETSamples' and click the 'Next' button. e) Browse to the 'C:\Crystal\CRNET\' folder, and click the 'Next' button. f) On the 'Access Permission' screen, click the 'Next' button to advance to the next screen. g) Click the 'Finish' button to create the virtual directory for this sample. 2. You need to create application settings for this Directory in IIS. Use the following steps to create the application settings. a) From the Start menu, select Run and type 'inetmgr'. Click 'OK' to load the IIS Manager. b) Expand the server node and you will see the Default Web Site node. For this node, expand the nodes, CRNETSamples | cr10_csharp_web_ClientPrinting c) Right-click on the node 'cr10_csharp_web_ClientPrinting' and select 'Properties'. d) In the Properties window click the 'Create' button and click 'OK' to close the window. 3. Open the Visual Studio .NET IDE. 4. From the File menu, select 'Open' | 'Project', and browse to where you extracted the sample and choose cr10_csharp_web_ClientPrinting.sln. Click on the 'Open' button to load the project. 5. In the Solution Explorer, right-click on 'Webform1.aspx' and select 'Set as Start Page'. 6. From the Build menu, select 'Build Solution' to compile the application. 7. From the Debug menu, select 'Start Without Debugging' to run the application. ________________________________________________________________ ADDITIONAL INFO The report in the sample uses the Xtreme Sample Database 10 ODBC DSN. Xtreme Sample Database 10 is created by default when installing Crystal Reports 10. If the Xtreme Sample Database 10 DSN has not been installed please refer to the "CSharp Web Sample Descriptions" document. ________________________________________________________________ TECH ID: JAS ________________________________________________________________ Last updated on Dec 23, 2003 ________________________________________________________________

近期下载者

相关文件


收藏者