<%@Page Language="C#" Inherits="IWMS.Pages.Polls" EnableSessionState="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<!--#include file="inc/html_head.inc"-->
</head>
<body>
<div class="twidth" style="width:100%">
<div class="<%=GetFrameCss(style.CssPoll,"mframe")%>" style="width:460px;margin-left:auto;margin-right:auto;">
<div class="tl"></div>
<div class="tr"></div>
<div class="tm">
		<span class="tt">所有调查</span>
</div>
<div class="wrapper">
<div class="ml"></div>
<div class="mr"></div>
<div class="mm">
		<asp:PlaceHolder id="plPolls" runat="server">
		<br/>
		<form id="myForm" runat="server">
		<ASP:DataGrid id="MyDataGrid" runat="server"
				Width="100%"
				PageSize=15
				ShowHeader="false"
				ShowFooter="false"
				CssClass="grid"
				CellPadding="6"
				AutoGenerateColumns="false"
				DataKeyField="id"
				AllowPaging="true"
				OnPageIndexChanged="MyDataGrid_Page"
				HeaderStyle-CssClass="gridHead"
				CellSpacing="0" >
			<PagerStyle HorizontalAlign="right"/>
			<Columns>
				<asp:TemplateColumn>
					<ItemTemplate>
					<%#Eval("title")%>
					(<a href="pollView.aspx?act=result&amp;id=<%#Eval("id")%>">查看</a> -
					<%#Votes(Eval("vote").ToString())%> 票)
					</ItemTemplate>
				</asp:TemplateColumn>
			</Columns>
		</ASP:DataGrid>	
		</form>
		</asp:PlaceHolder>	
</div>
</div>
<div class="bl"></div>
<div class="br"></div>
<div class="bm"></div>
</div>

<!--#include file="foot.inc" -->
</body>
</html>