📄 awreportviewerdemo.aspx
字号:
<%@ Page language="c#" Codebehind="AwReportViewerDemo.aspx.cs" AutoEventWireup="false" Inherits="AWC.Reporter.Web.AwReportViewerDemo" %>
<%@ Register TagPrefix="cc1" Namespace="AWC.Reporter.Web.AwReportViewer" Assembly="AWC.Reporter.Web.AwReportViewer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AwReportViewerDemo</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="FlowLayout">
<form id="Form1" method="post" runat="server">
<h2><FONT color="#000099">Adventure Works Report Viewer Demo</FONT></h2>
<table id="tblWriteBack" style="BORDER-RIGHT: tan 1px solid; BORDER-TOP: tan 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: tan 1px solid; BORDER-BOTTOM: tan 1px solid; FONT-FAMILY: Verdana; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
borderColor="tan" cellSpacing="0" cellPadding="2" width="800" border="1">
<tr style="FONT-WEIGHT: bold; COLOR: darkslateblue; BACKGROUND-COLOR: beige">
<td style="HEIGHT: 12px" colSpan="2">Choose Report</td>
</tr>
<tr style="COLOR: darkslateblue; BACKGROUND-COLOR: beige">
<td style="HEIGHT: 23px" noWrap width="100">Reports:</td>
<td style="HEIGHT: 23px" noWrap width="700"><asp:dropdownlist id="drpReports" runat="server" AutoPostBack="True"></asp:dropdownlist></td>
</tr>
<tr style="COLOR: darkslateblue; BACKGROUND-COLOR: beige">
<td style=" HEIGHT: 28px" noWrap>Export Format:</td>
<td noWrap><asp:dropdownlist id="drpExport" runat="server"></asp:dropdownlist></td>
</tr>
<tr style="FONT-WEIGHT: bold; COLOR: darkslateblue">
<td style="HEIGHT: 12px" colSpan="2">Parameters</td>
</tr>
<tr style="COLOR: darkslateblue; BACKGROUND-COLOR: beige">
<td width="800" colSpan="2">
<asp:datagrid id="grdParams" runat="server" CellPadding="2" BorderColor="Tan" BorderWidth="1px"
BackColor="White" AutoGenerateColumns="False" font-names="Verdana" AllowSorting="True" Font-Size="8pt"
Font-Name="Verdana" NAME="grdOrders" width="800px" BorderStyle="Solid">
<AlternatingItemStyle BackColor="Beige"></AlternatingItemStyle>
<ItemStyle ForeColor="DarkSlateBlue"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="DarkRed"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="Name" ReadOnly="True" HeaderText="Name">
<HeaderStyle Width="100px"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="Value">
<HeaderStyle HorizontalAlign="Left" Width="100%"></HeaderStyle>
<ItemStyle HorizontalAlign="Left"></ItemStyle>
<ItemTemplate>
<asp:TextBox runat="server" id="txtParameter" Name='<%# DataBinder.Eval(Container.DataItem,"Name").ToString()%>' Text='<%# DataBinder.Eval(Container.DataItem,"Value").ToString()%>'>
</asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Mode="NumericPages"></PagerStyle>
</asp:datagrid></td>
</tr>
<tr style="FONT-WEIGHT: bold; COLOR: darkslateblue">
<td style="HEIGHT: 12px" colSpan="2">
<asp:LinkButton id="lnkRun" runat="server">Run Report</asp:LinkButton></td>
</tr>
</table>
<P>
<cc1:AwReportViewer id="reportViewer" runat="server" Zoom="100%" ServerUrl="http://192.168.1.204/reportserver/reportservice.asmx"
ReportPath="/AWReporter/Employee Sales Freeform" Width="720px" Height="384px" ServerSide="True"
StreamRoot="http://localhost/AWReporterWeb/ImageHandler.aspx?ID=" Visible="False" ImageDownloadPath="temp"></cc1:AwReportViewer></P>
<P><FONT face="宋体"></FONT> </P>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -