<%@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="<%=config.Charset%>">
<head>
<!--#include file="inc/html_head.inc"-->
</head>
<body>
<div class="twidth">
<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" style="margin:0px" runat="server">
		<ASP:DataGrid id="MyDataGrid" runat="server"
				Width="100%"
				PageSize=15
				ShowHeader="false"
				ShowFooter="false"
				CellPadding="4"
				AutoGenerateColumns="false"
				DataKeyField="id"
				AllowPaging="true"
				OnPageIndexChanged="MyDataGrid_Page"
				HeaderStyle-CssClass="gridHead"
				CellSpacing="0" >
			<PagerStyle HorizontalAlign="right"/>
			<Columns>
				<asp:TemplateColumn
					>
					<ItemTemplate>
					<%#DataBinder.Eval(Container.DataItem,"title")%>
					(<a href="pollView.aspx?act=result&amp;id=<%#DataBinder.Eval(Container.DataItem,"id")%>">查看</a> -
					<%#Votes(DataBinder.Eval(Container.DataItem,"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" -->
</div>
</body>
</html>
