⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hyperlinks.aspx

📁 基于sqlserver2k,reporting service的扩展(auth,render,deliver==)应用(mssql,RS,AS,BI)
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Hyperlinks.aspx.cs" AutoEventWireup="false" Inherits="AWC.Reporter.Web.Hyperlinks" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Hyperlinks</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<STYLE type="text/css"> BODY {background:#FBFBFB; font-family:Verdana, Arial, Helv, Geneva, Helvetica, sans-serif; font-size:9pt;}
	A:link {color:blue;text-decoration:none}
	A:active {color:red;text-decoration:none}
	A:visited {color:blue;text-decoration:none}
		</STYLE>
		<script language="javascript">
		<!--
		function toggleParameters()
		{
			if(parameters.style.display=='none') 
				parameters.style.display='block' 
			else 
				parameters.style.display='none';
			return;
		}
		function requestReport(startDate, endDate)
		{
			window.open("http://192.168.1.204/reportserver?/AWReporter/Territory Sales Crosstab&StartDate=" + startDate + "&EndDate=" + endDate + "&rs:Command=Render", "_blank", "location=no,toolbar=no,left=100,top=100,height=600,width=800")
		}		
		//-->
		</script>
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" target="_blank" runat="server">
			<h3 align="center"><FONT face="Verdana" color="#476789">Requesting Reports from 
					Hyperlinks</FONT></h3>
			<table id="tblHyperlinks" style="BORDER-RIGHT: tan 1px solid; BORDER-TOP: tan 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: tan 1px solid; WIDTH: 800px; BORDER-BOTTOM: tan 1px solid; FONT-FAMILY: Verdana; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
				borderColor="tan" cellSpacing="0" cellPadding="2" width="300" align="center" border="1">
				<tr style="FONT-WEIGHT: bold; COLOR: white; BACKGROUND-COLOR: darkred">
					<td style="WIDTH: 100px">Report Name</td>
					<td style="WIDTH: 200px">Description</A></td>
				</tr>
				<tr style="COLOR: darkslateblue">
					<td noWrap><A href="http://192.168.1.204/reportserver?/AWReporter/Sales by Territory" target="_blank">Sales 
							by Territory</A></td>
					<td noWrap>As simple as it can get. No parameters, no devices settings, just the 
						report please.</td>
				</tr>
				<tr style="COLOR: darkslateblue; BACKGROUND-COLOR: beige">
					<td noWrap><A href="http://192.168.1.204/reportserver?/AWReporter/Employee Sales Freeform&amp;StartDate=1/1/2003 12:00:00 AM&amp;EndDate=12/1/2003 12:00:00 AM&amp;Employee=-1"
							target="_blank">Employee Sales Freeform</A></td>
					<td noWrap>Requesting a report that takes parameters.</td>
				</tr>
				<tr style="COLOR: darkslateblue">
					<td noWrap><A href="http://192.168.1.204/reportserver?/AWReporter/Employee Sales Freeform with Chart&amp;StartDate=1/1/2003 12:00:00 AM&amp;EndDate=12/1/2003 12:00:00 AM&amp;rs:Format=PDF&amp;rs:Command=Render">Sales 
							by Territory with Chart</A></td>
					<td noWrap>Specifying the report format and device settings.</td>
				</tr>
				<tr style="COLOR: darkslateblue; BACKGROUND-COLOR: beige">
					<td noWrap><A onclick='window.open("http://192.168.1.204/reportserver?/AWReporter/Territory Sales Drillthrough&amp;StartDate=1/1/2003 12:00:00 AM&amp;EndDate=12/1/2003 12:00:00 AM&amp;rs:Command=Render", "_blank", "location=no,toolbar=no,left=100,top=100,height=600,width=800")'
							href="#">Territory Sales Drillthrough</A></td>
					<td noWrap>Custom-tailored report window.</td>
				</tr>
				<tr style="COLOR: darkslateblue">
					<td noWrap><A onclick="javascript:toggleParameters();" href="#">Territory Sales 
							Crosstab</A><br>
						<div id="parameters" style="DISPLAY: none">Start Date: <INPUT id="StartDate" type="text" value="1/1/2003"><br>
							End Date:&nbsp;&nbsp; <INPUT id="EndDate" type="text" value="12/1/2003"><br>
							<INPUT onclick="requestReport(StartDate.value, EndDate.value);" type="button" value="Run Report">
						</div>
					</td>
					<td noWrap>With user-specified parameters.</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -