<%@ page language="C#" autoeventwireup="true" inherits="Survey_SurveyAnswers, App_Web_qeytevsw" stylesheettheme="Themes" theme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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">
<head runat="server">
    <title></title>
        <script type="text/javascript" src="../Js/jquery.js"></script>
</head>
<body>
  <div id="loading">
        <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #ffffff;
            z-index: 10; filter: alpha(opacity=90); opacity: 0.9;">
        </div>
        <div id="msg_area" style="z-index: 200; left: 289px; position: absolute; top: 202px;">
            <div id="msgPanel" style="z-index: 200;" height="24px" width="100px" bordercolor="#eeeeee"
                borderstyle="Solid" borderwidth="1px">
                <asp:Image ID="img" runat="server" ImageUrl="~/images/loading.gif" />
                <font style="font-size: 9pt;color:Gray;">loading...读取中......</font>
            </div>
        </div>
    </div>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：我的学习 > 我的调查</span>
            </td>
        </tr>
        <tr>
            <td class="margintop5">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <asp:GridView ID="gvSyrvey" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                DataKeyNames="ID" OnRowDataBound="gvSyrvey_RowDataBound" OnRowCommand="gvSyrvey_RowCommand">
                                <PagerSettings Visible="False" />
                                <Columns>
                                    <%--        <asp:TemplateField HeaderStyle-Width="6%">
                                <HeaderTemplate>
                                    全选<input id="chkSelAll" name="chkSelAll" onclick="javascript:CheckAll();" type="checkbox">
                                </HeaderTemplate>
                                <HeaderStyle Width="50px" />
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkSel" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                                    <asp:BoundField DataField="Theme" HeaderText="调查主题" HeaderStyle-Width="30%" />
                                    <asp:BoundField DataField="Publisher" HeaderText="发布人" HeaderStyle-Width="10%" />
                                    <asp:BoundField DataField="Published" HeaderText="起始时间" HeaderStyle-Width="15%" />
                                    <asp:BoundField DataField="Maturity" HeaderText="到期时间" HeaderStyle-Width="15%" />
                                    <asp:BoundField DataField="State" HeaderText="可用状态" HeaderStyle-Width="10%" />
                                    <asp:TemplateField HeaderText="操作" HeaderStyle-Width="20%">
                                        <ItemTemplate>
                                            <%--<asp:ImageButton ID="ibtnEdit" runat="server" CommandName="edit" ImageUrl="~/App_Themes/Themes/images/edit.gif" ToolTip="编辑" />
                --%>
                                            <asp:LinkButton ID="ibtnSelect" runat="server" CommandName="views" >查看</asp:LinkButton>
                                            <asp:LinkButton ID="ibtnEdit" runat="server" CommandName="answers">回答</asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EmptyDataTemplate>
                                    <div class="nodata">
                                        <img src="../images/waring_pic01.gif" />
                                        <asp:Label ID="lbltext" runat="server" Text="没有你要查询的数据！" HorizontalAlign="Center"
                                            Height="30px"></asp:Label>
                                    </div>
                                </EmptyDataTemplate>
                                <%--  <EmptyDataRowStyle Font-Size="XX-Large" Font-Bold="true" ForeColor="Red" HorizontalAlign="Center" />--%>
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:GridView>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="page_bg_left">
                            <cc1:AspNetPager ID="myAspNetPager" runat="server" AlwaysShow="True" CssClass="cut_pager"
                                PageSize="10" FirstPageText="首页&nbsp;&nbsp;" HorizontalAlign="Right" InputBoxStyle="width:20px;"
                                LastPageText="尾页" NextPageText="&nbsp;&nbsp;下一页&nbsp;&nbsp;" NumericButtonTextFormatString="  {0}"
                                OnPageChanging="AspNetPager1_PageChanging" PrevPageText="上一页" ShowCustomInfoSection="Left"
                                CustomInfoTextAlign="Left" ShowInputBox="Always">
                            </cc1:AspNetPager>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
       <script type="text/javascript">
         $(document).ready(function() {

             $("#loading").fadeOut();

         });
     
</script>
</body>
</html>
