<%@ Page language="c#" Codebehind="PollList.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.PollList" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<!--#include file="inc/head.inc"-->
</HEAD>
<body MS_POSITIONING="GridLayout">
<div  class="mframe" style="width:460px;">
<div class="tl"></div>
        <div class="tr"></div>
        <div class="tm"><span class="tt"><%=GetResourceString("All_Polls")%></span></div>
        <div class="ml"></div>
        <div class="mr"></div>
        <div class="mm"><ASP:DataGrid id="dgList" runat="server" Width="100%" PageSize="15" ShowHeader="false" ShowFooter="false"
										CellPadding="4" AutoGenerateColumns="false" DataKeyField="PollID" AllowPaging="true" HeaderStyle-CssClass="summary-title"
										CellSpacing="0" AllowCustomPaging="True">
                <HeaderStyle CssClass="summary-title"></HeaderStyle>
                <Columns>
                <asp:TemplateColumn>
                  <ItemTemplate> <%#DataBinder.Eval(Container.DataItem,"title")%> (<a href='pollView.aspx?type=view&amp;PollID=<%#DataBinder.Eval(Container.DataItem,"PollID")%>'>查看</a> - <%# GetVote(DataBinder.Eval(Container.DataItem,"Vote").ToString())%> 票) </ItemTemplate>
                </asp:TemplateColumn>
                </Columns>
                <PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
              </ASP:DataGrid></div>
        <div class="bl"></div>
        <div class="br"></div>
        <div class="bm"></div>
</div>
<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
</body>
</HTML>
