Asp. NET using the report Service

Source: Internet
Author: User

Study the following report service yesterday and found that the SQL service comes with a very powerful reporting server,

The presentation of reports in different applications

Reference: http://www.cnitblog.com/yide/archive/2006/09/29/17485.html

Second, the form used in ASP.

1, Local report

A> adding Microsoft.ReportViewer.WebForms References

b> create a new XSD data source and query for good data, if not the XSD data source is OK, so that the background binding data

C> Create a new REPORT1.RDLC, bind the data source, and select a certain style, I made the simple style as shown:

D> Drag the ReportViewer control into the WebForm file and specify the report page REPORT1.RDLC

E> there may be errors at this point "the base class includes the field" ReportViewer1 ", but its type (Microsoft.Reporting.WebForms.ReportViewer) is associated with the control ( Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type. "

Front Desk Introduction ScriptManager Control

<asp:scriptmanager id= "ScriptManager1" runat= "Server" >

</asp:ScriptManager>

F> F5 run with the results as shown

2, Service period report

Reference: http://msdn.microsoft.com/zh-cn/library/aa902634 (v=sql.80). aspx

A> Configuring the report server to upload the report to the report server

B> generally there are two ways of

1, ASPX pages can use the ReportViewer control to set properties such as report paths

2, on the HTML page, use the IFRAME page to embed

C> there may be errors at this point "the base class includes the field" ReportViewer1 ", but its type (Microsoft.Reporting.WebForms.ReportViewer) is associated with the control ( Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type. 】

Front Desk Introduction ScriptManager Control

<asp:scriptmanager id= "ScriptManager1" runat= "Server" >

</asp:ScriptManager>

The d> ran successfully and the results were similar to the previous one.

Third, reference

Report RDL embedded Web page (ASP)

Use in Report service ASP.

The report Service (RDLC) dynamically binds data in ASP-Learning notes

Asp. NET using the report Service

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.