<%@ Page Title="" Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="EditVote.aspx.cs" Inherits="Portal.Admin.EditVote" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

  
<style>

.votetitle{ width:400px;}

.atable{
	border-collapse:collapse;
	border:1px solid #f0f0f0;
	margin-left:10px;
    width:500px;
}
.atable th{
	border:1px solid #f0f0f0;
	background:#f0f0f0;
	font-weight:bold;
}
.atable td{
	padding:4px;
	border:1px solid #f0f0f0;
}

 

.oddRow{
	background:#FFFFFF;
}
.evenRow{
	background:#f0f0f0;
}
</style>


  
  
 <div class="result-wrap">

      <div class="result-title">
                <h1>投票管理</h1>
            </div>

 
 <div>
   
 

 
  <table class="insert-tab" width="100%">
   <tr>
   <th width=150px>投票标题：
   </th>
    <td>
     <asp:TextBox ID="subject" runat="server" class=" form-control"></asp:TextBox>  
      <asp:RequiredFieldValidator Display="Dynamic"  ControlToValidate="subject" ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
 
      </td>
    </tr>
    
     
      <tr>
   <th >投票截止日期：
   </th>
    <td>
    <asp:TextBox ID="expiredate"  class=" form-control"   onClick="javascript:ShowCalendar(this)"   runat="server"></asp:TextBox> 
      </td>
    </tr>

    
      <tr>
   <th >公开投票结果：
   </th>
    <td>
    <asp:CheckBox ID="Isdisplayresult" runat="server" Checked=true />
      </td>
    </tr>


     
    
    
  
      <tr>
   <th >是否是多项选择：
   </th>
    <td>
   <asp:CheckBox ID="optiontype" Width="180px"  Text=""   runat="server" />
      </td>
    </tr>
    
     
    
      <tr>
   <th >请输入投票选项：
   </th>
    <td>
   
       
<asp:Panel runat="server" ID="options">
<table border="1" id="tbloptions" class="atable">
<tr>
      <th colspan="2"></th>
</tr>


<tr  class="evenRow"><td>选项1</td><td><asp:textbox  runat="server" ID="textbox1" size="40"/> 得票：<asp:textbox  runat="server" ID="depiao1"   Text=0 size="5"/></td></tr>
<tr class="oddRow"><td>选项2</td><td><asp:textbox  runat="server" ID="textbox2" size="40"/> 得票：<asp:textbox  runat="server" ID="depiao2"  Text=0 size="5"/></td> </tr>
<tr class="evenRow"><td>选项3</td><td><asp:textbox  runat="server" ID="textbox3" size="40"/> 得票：<asp:textbox  runat="server" ID="depiao3"    Text=0 size="5"/></td></tr>
<tr class="oddRow"><td>选项4</td><td><asp:textbox  runat="server" ID="textbox4"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao4"    Text=0 size="5"/></td></tr>
<tr class="evenRow"><td>选项5</td><td><asp:textbox  runat="server" ID="textbox5"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao5"    Text=0 size="5"/></td></tr>
<tr class="oddRow"><td>选项6</td><td><asp:textbox  runat="server" ID="textbox6" size="40"/> 得票：<asp:textbox  runat="server" ID="depiao6"    Text=0 size="5"/></td></tr>
<tr class="evenRow"><td>选项7</td><td><asp:textbox  runat="server" ID="textbox7"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao7"    Text=0 size="5"/></td></tr>
<tr class="oddRow"><td>选项8</td><td><asp:textbox  runat="server" ID="textbox8"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao8"    Text=0 size="5"/></td></tr>
<tr class="evenRow"><td>选项9</td><td><asp:textbox  runat="server" ID="textbox9"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao9"    Text=0 size="5"/></td></tr>
<tr class="oddRow"><td>选项10</td><td><asp:textbox  runat="server" ID="textbox10"  size="40"/> 得票：<asp:textbox  runat="server" ID="depiao10"    Text=0 size="5"/></td></tr>
 

</table>

 </asp:Panel>
 

      </td>
    </tr>
    




                                 
          <tr>
  <td colspan="2">
  
  <div class="btnc">
  <asp:Button ID="Button1" runat="server" Text="修改" class="btn" onclick="Button1_Click" />
             <asp:Button ID="Button2" runat="server" CausesValidation="false" Text="取消" class="btn" onclick="CancelBtn_Click" />
                          <asp:Button ID="Button3"  CausesValidation="false" runat="server" Text="删除" class="btn" onclick="DeleteBtn_Click" />
  </div>
  </td>
  </tr>
  </table>
                             
                                        
                              


     </div>






 

</asp:Content>
