<%@ Page Language="c#"  Inherits="handinput" CodeFile="handinput.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>无标题页</title>
		<link href="adminstyle.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-cold-1.css" title="win2k-cold-1">
		<script type="text/javascript" src="js/calendar.js"></script>
		<script type="text/javascript" src="js/calendar-zh.js"></script>
		<script type="text/javascript" src="js/calendar-setup.js"></script>
		<LINK href="adminstyle.css" type="text/css" rel="stylesheet">
		<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">
	</HEAD>
	<body>
		<form id="form1" runat="server">
			<table class="table_1" width="98%" border="0">
				<tr>
					<td style="HEIGHT:25px;BACKGROUND-COLOR:#66cc00">
						请选择项目
					</td>
				</tr>
				<tr>
					<td style="HEIGHT: 25px">
						<table style="WIDTH: 625px">
							<tr>
								<td style="WIDTH: 54px; HEIGHT: 17px">
									广告列表</td>
								<td style="WIDTH: 101px; HEIGHT: 17px">
									<asp:DropDownList ID="DropDownList1" runat="server" Width="100px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"></asp:DropDownList></td>
								<td style="WIDTH: 54px; HEIGHT: 17px">
									&nbsp;日期</td>
								<td align="left">
									<input type="text" name="date" size="20" value="2004-11-1" id="date" readOnly runat="server"><INPUT onclick="return showCalendar('date', 'y-m-d');" type="reset" value="选择" id="Reset1">
									<asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="确定" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<asp:DataGrid ID="DataGrid2" runat="server" Width="98%" AutoGenerateColumns="False" Font-Bold="False"
				Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
				<HeaderStyle BackColor="#66CC00" Height="25px" Font-Bold="True" Font-Italic="False" Font-Overline="False"
					Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
				<Columns>
					<asp:BoundColumn DataField="WebUserName" HeaderText="网站主" SortExpression="WebUserName"></asp:BoundColumn>
					<asp:TemplateColumn HeaderText="网站名称">
						<ItemTemplate>
							<a href='<%#DataBinder.Eval(Container.DataItem, "url").ToString().Trim()%>' title='<%#DataBinder.Eval(Container.DataItem, "url").ToString().Trim()%>'  >
								<%#DataBinder.Eval(Container.DataItem, "WebsiteName").ToString().Trim() + "(" + DataBinder.Eval(Container.DataItem, "WebsiteId ").ToString() + ")"%>
							</a>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="点击量">
						<ItemTemplate>
							<asp:TextBox ID="textbox1" runat="server" Width="50" Text='0'></asp:TextBox>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="PV量">
						<ItemTemplate>
							<asp:TextBox ID="textbox2" runat="server" Width="50" Text='0'></asp:TextBox>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
			</asp:DataGrid>
			<table width="98%" style="HEIGHT: 5px">
				<tr>
					<td align="right" valign="top">
						<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="预览" />
						<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="修改" />
						&nbsp;</td>
				</tr>
			</table>
			<asp:Panel ID="Panel1" runat="server" Height="84px" Width="100%">
				<asp:DataGrid id="DataGrid1" runat="server" Width="98%" Font-Underline="False" Font-Strikeout="False"
					Font-Overline="False" Font-Italic="False" Font-Bold="False" AutoGenerateColumns="False">
					<HeaderStyle BackColor="#66CC00" Height="25px" Font-Bold="True" Font-Italic="False" Font-Overline="False"
						Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
					<Columns>
						<asp:BoundColumn DataField="name" HeaderText="网站主"></asp:BoundColumn>
						<asp:BoundColumn DataField="advlist" HeaderText="广告"></asp:BoundColumn>
						<asp:BoundColumn DataField="hit" HeaderText="点击量"></asp:BoundColumn>
						<asp:BoundColumn DataField="show" HeaderText="PV量"></asp:BoundColumn>
					</Columns>
				</asp:DataGrid>
			</asp:Panel>
		</form>
	</body>
</HTML>
