tailieunhanh - Microsoft SQL Server 2005 Developer’s Guide- P18

Microsoft SQL Server 2005 Developer’s Guide- P18:This book is the successor to the SQL Server 2000 Developer’s Guide, which was extremely successful thanks to all of the supportive SQL Server developers who bought that edition of the book. Our first thanks go to all of the people who encouraged us to write another book about Microsoft’s incredible new relational database server: SQL Server 2005. | Chapter 9 Reporting Services 359 Programmability Reporting Services is an extensible reporting platform complete with a set of APIs that allow developers to design and build reporting solutions. Reporting Services can be integrated into custom applications in two ways using URL access and using the Reporting Services Simple Object Access Protocol SOAP API. The programming method you choose depends on the functionality you need in your application. URL access is best used when users only need to view or navigate through rendered reports through a Web browser. The Reporting Services SOAP APIs allow more complex operations such as creating and managing reports and subscriptions data sources and Report Server database items. There are also times when a combination of these two methods most effectively meets your business needs. You can also develop and manage extensions consumed by the Reporting Services components using the available managed code API. You can create assemblies using the Microsoft .NET Framework that add new Reporting Services functionality to meet your specialized business tasks. Using URL Access in a Window Form Even though accessing your reports using URL links is best suited for Web environments you can also launch a report by starting your Internet Explorer programmatically from a Windows form or you can use a Web browser control to display a report on your Windows form. Starting Internet Explorer from a Windows Form Internet Explorer can be started from a Windows form using the Process class of the namespace. The Process class is used for controlling applications on your computer. To view a report in your ReportServer database you set the arguments of the function with the application and the URL of the report. The following code shows launching the IExplore process to display a report when a user clicks a button on a Windows form Imports Public Class Forml Private Sub Button1_Click

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.