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