"SQL Server 2000 reporting services learning notes" (2) reportviewer sample ASP. NET Server Control

Source: Internet
Author: User

"SQL Server 2000 reporting services learning notes" (2) reportviewer sample ASP. NET Server Control

 

Private void page_load (Object sender, system. eventargs E)
{
// Subject: reportviewer sample ASP. NET Server Control

// Reportviewer is an ASP. NET Server Control developed using Visual Studio. NET.
// Based on the real-world solution, the server control demonstrates how to develop custom controls,
// To integrate reporting services reports into Web ApplicationsProgram.
// The reportviewer server control uses the Reporting Services URL access function
// Present and locate reports in a web browser.

This. reportviewer2.reportpath = "/report project3/market sales ";
This. reportviewer2.serverurl = "http: // localhost/reportserver ";

This. reportviewer2.toolbar = reportviewer. multistate. True; // "toolbar" attribute
This. reportviewer2.parameters = reportviewer. multistate. False; // "parameter" attribute

This. reportviewer2.zoom = "75%"; // "zoom" attribute
// This. reportviewer2.format = "pdf"; this property is set to 55555

This. reportviewer2.width = new unit (900); // "width" attribute
This. reportviewer2.height = new unit (500); // "height" attribute

// Reportviewer is a component inherent in reporting services.
}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.