<%@ Page Language="C#" MasterPageFile="~/SPage.Master" AutoEventWireup="true" CodeBehind="VoteResult.aspx.cs" Inherits="LoveWeb.Vote.VoteResult" %>

<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <%--   <title>无标题页</title>--%>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style4
        {
            font-size: large;
            height: 30px;
        }
    </style>

    <table align="left" cellspacing="0" class="style1">
        <tr>
            <td align="center" bgcolor="#FFFFAC" class="style4"><b>【问卷调查结果】 </b>☺ 恩欲报，怨欲忘；报怨短，报恩长。</td>
        </tr>
        <tr>
            <td width="100%">
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    SelectMethod="GetQestAndAnswerAll" TypeName="LoveBLL.VoteManager">
                </asp:ObjectDataSource>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" 
                    Font-Size="Medium" PageSize="9" 
                    Width="100%" BackColor="#FFFFCA">
                    <Columns>
                        <asp:BoundField DataField="Quesid" SortExpression="Quesid" />
                        <asp:BoundField DataField="Question" HeaderText="题目" SortExpression="Question">
                        </asp:BoundField>
                        <asp:BoundField DataField="Answer_1" HeaderText="第一选项人数" 
                            SortExpression="Answer_1" />
                        <asp:BoundField DataField="Answer_2" HeaderText="第二选项人数" 
                            SortExpression="Answer_2" />
                        <asp:BoundField DataField="Answer_3" HeaderText="第三选项人数" 
                            SortExpression="Answer_3" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
