csharp_web_adonet

所属分类:C#编程
开发工具:C#
文件大小:21KB
下载次数:78
上传日期:2005-03-26 21:42:27
上 传 者DreamWolf
说明:  用c#实现ado.net,并且把dataset中的数据存入到水晶报表中去。
(with c# ADO.Net, and to the data dataset into crystal statements to the government.)

文件列表:
csharp_web_adonet (0, 2004-03-04)
csharp_web_adonet\AssemblyInfo.cs (2781, 2003-06-30)
csharp_web_adonet\CrystalReport1.cs (4020, 2003-06-30)
csharp_web_adonet\CrystalReport1.rpt (16384, 2003-06-30)
csharp_web_adonet\CSharp_web_adonet.csproj (9323, 2003-06-30)
csharp_web_adonet\CSharp_web_adonet.csproj.webinfo (145, 2004-03-03)
csharp_web_adonet\CSharp_web_adonet.sln (978, 2003-06-30)
csharp_web_adonet\CSharp_web_adonet.vsdisco (319, 2003-06-30)
csharp_web_adonet\DataSet1.cs (21431, 2003-06-30)
csharp_web_adonet\DataSet1.xsd (1385, 2003-06-30)
csharp_web_adonet\DataSet1.xsx (376, 2003-06-30)
csharp_web_adonet\Global.asax (84, 2003-06-30)
csharp_web_adonet\Global.asax.cs (1258, 2003-06-30)
csharp_web_adonet\Global.asax.resx (1733, 2003-06-30)
csharp_web_adonet\Web.config (3414, 2003-06-30)
csharp_web_adonet\WebForm1.aspx (967, 2003-06-30)
csharp_web_adonet\WebForm1.aspx.cs (2999, 2003-06-30)
csharp_web_adonet\WebForm1.aspx.resx (1733, 2003-06-30)

________________________________________________________________ Business Objects Support - csharp_web_adonet.zip Web Site: http://www.businessobjects.com ________________________________________________________________ PRODUCT VERSION The minimum requirements for this application are: Microsoft C# .NET 2002 and Crystal Reports for Microsoft Visual Studio .NET 2002 For upgrade Information please refer to the “CSharp Web Sample Descriptions” document. ________________________________________________________________ DESCRIPTION This C#.NET Web sample application demonstrates how to build and populate an ADO.NET dataset and pass the dataset to a report at runtime. ________________________________________________________________ FILES - AssemblyInfo.cs - CrystalReport1.rpt - CrystalReport1.cs - DataSet1.cs - DataSet1.xsd - DataSet1.xsx - Global.asax - Global.asax.resx - Global.asax.cs - README.txt - csharp_web_adonet.sln - csharp_web_adonet.csproj - csharp_web_adonet.csproj.webinfo - csharp_web_adonet.vsdisco - WebForm1.aspx - WebForm1.aspx.resx - WebForm1.aspx.vb - Web.config ________________________________________________________________ INSTALLATION 1. After extracting the contents of this Zip file to the default installation folder, C:\Crystal\CRNET\csharp_web_adonet, 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 | csharp_web_adonet. c) Right-click on the node 'csharp_web_adonet' 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 csharp_web_adonet.sln. Click on the 'Open' button to load the project. 5. From the Build menu, select 'Build Solution' to compile the application. 6. From the Debug menu, select 'Start Without Debugging' to run the application. Note:====== To preview the report, you may need to right-click on the 'Webform1.aspx' page and select 'Set as Start Page' in the Solution Explorer. =========== A report now appears with data from the Authors table in the SQL Server Pubs sample database. ________________________________________________________________ ADDITIONAL INFO The report in this sample application is based on a dataset schema file (Dataset1.xsd) that was designed using the Dataset designer in VS .NET. The dataset schema defines the 'authors' table from the Microsoft SQL Server sample database, 'pubs'. This means you must have client connectivity to a Microsoft SQL Server database that has the 'Pubs' database installed. You will be required to modify the ADO.NET code. The code used to build the connection string needs to be modified to use your Microsoft SQL Server logon parameters. ________________________________________________________________ TECH ID: HAN Last updated on July 1, 2003 ________________________________________________________________

近期下载者

相关文件


收藏者