<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Showsurvey.aspx.cs" Inherits="_Default" %>

<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>

<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uc1" %>

<!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>   
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" text="#000000" topmargin="0">


    <form id="form1" runat="server">
    <div>
        <table style="width: 991px">
            <tr>
                <td colspan="3" style="height: 136px">
                    <uc1:Top ID="Top1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <table width="100%" style="border-right: sandybrown 1px solid; border-top: sandybrown 1px solid; border-left: sandybrown 1px solid; border-bottom-width: 1px; border-bottom-color: sandybrown;">
                        <tr>
                            <td style="width: 211px; border-right: darkorange 1px solid; text-align: left; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <img src="pics/shutu.gif" style="width: 210px" /></td>
                            <td style="width: 6px;" rowspan="6">
                            </td>
                            <td style="border-top-width: 1px; border-left: darkorange 1px solid; border-top-color: darkorange; border-right-width: 1px; border-right-color: darkorange; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <table width="100%">
                                    <tr>
                                        <td colspan="3" style="border-bottom: darkorange thick double; height: 27px; text-align: left">
                                            <img src="pics/tongji.gif" /></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 28px; text-align: center">
                                            <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="12pt"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 7px; text-align: center">
                                            <asp:GridView ID="TongjiGridView" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                                Width="100%">
                                                <Columns>
                                                    <asp:BoundField DataField="Surveyitem" HeaderText="项目">
                                                        <ItemStyle HorizontalAlign="Left" Width="200px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Hit" HeaderText="票数">
                                                        <ItemStyle Width="60px" />
                                                    </asp:BoundField>
                                                    <asp:TemplateField HeaderText="比例图示">
                                                        <ItemTemplate>
                                                            <asp:Image ID="Image1" runat="server" ImageUrl="~/pics/tiao.gif" Width='<%#Imgwidth((int)DataBinder.Eval(Container.DataItem,"Hit")) %>' Height="10"/>
                                                            <%#Imgwidth1((int)DataBinder.Eval(Container.DataItem,"Hit")) %>%
                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Left" />
                                                    </asp:TemplateField>
                                                </Columns>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 23px; text-align: right">
                                            统计时间到：<asp:Label ID="lblDate" runat="server" Font-Bold="True" ForeColor="DimGray"></asp:Label>
                                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                            &nbsp; &nbsp;&nbsp; 统计单位：<asp:Label ID="lblDanwei" runat="server" Font-Bold="True"
                                                ForeColor="DimGray"></asp:Label></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="3">
                    <uc2:bottom ID="Bottom1" runat="server" />
                    
                </td>
            </tr>
        </table>
       </div>
    </form>
    

</body>
</html>
