温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:简单多功能投票/调查系统源码
当前文件路径:Votes/Votes.aspx

1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Votes.aspx.cs" Inherits="Votes" %> 2
<%@ Register Src="~/LinkList.ascx" TagName="LinkList22" TagPrefix="voteLink" %> 3
4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5
6
<html xmlns="http://www.w3.org/1999/xhtml" > 7
<head runat="server"> 8
<title>投票</title> 9
</head> 10
<body style="font-size:12px;"> 11
<form id="form1" runat="server"> 12
<div> 13
<voteLink:LinkList22 runat="server" ID="linklist" /> 14
<asp:Label ID="lbl" runat="server" Height="21px" Text="是否可以重复投票" Width="148px"></asp:Label> 15
16
<asp:Label ID="lbl1" runat="server" Height="5px" Width="173px"></asp:Label> 17
18
<asp:Label ID="lbl2" runat="server" Height="14px" Width="178px" ></asp:Label> 19
20
<table style="width: 605px; height: 67px"> 21
<tr> 22
<td style="width: 23px"> 23
</td> 24
<td style="width: 554px"> 25
</td> 26
<td> 27
</td> 28
</tr> 29
<tr> 30
<td style="width: 23px; height: 45px"> 31
</td> 32
<td style="width: 554px; height: 45px"> 33
<asp:GridView ID="SubjectView" runat="server" Height="72px" Width="532px" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="false" OnRowDataBound="SubjectView_RowDataBound" DataKeyNames="s_id,s_mode"> 34
<Columns> 35
<asp:TemplateField HeaderText="投票主题名称(t_name)"> 36
<ItemTemplate> 37
<%#DataBinder.Eval(Container.DataItem,"s_name") %> 38
<asp:Panel runat="server" ID="ItemPanel"></asp:Panel> 39
</ItemTemplate> 40
</asp:TemplateField> 41
</Columns> 42
43
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 44
<RowStyle BackColor="#EFF3FB" /> 45
<EditRowStyle BackColor="#2461BF" /> 46
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 47
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 48
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 49
<AlternatingRowStyle BackColor="White" /> 50
</asp:GridView> 51
</td> 52
<td style="height: 45px"> 53
</td> 54
</tr> 55
<tr> 56
<td style="width: 23px; height: 21px"> 57
</td> 58
<td style="width: 554px; height: 21px"> 59
</td> 60
<td style="height: 21px"> 61
</td> 62
</tr> 63
</table> 64
65
</div> 66
<asp:Button ID="tp" runat="server" Height="29px" OnClick="tp_Click" Text="投票" Width="106px" /> 67
68
69
70
<asp:DropDownList ID="RepeatList" runat="server" Height="25px" Width="107px" AutoPostBack="true"> 71
<asp:ListItem Text="可以" Value="1" Selected="True"></asp:ListItem> 72
<asp:ListItem Text="不可以" Value="0"></asp:ListItem> 73
</asp:DropDownList> 74
75
<asp:Button ID="repeat" runat="server" Height="24px" OnClick="repeat_Click" Text="设置重复投票" 76
Width="135px" /><br /> 77
78
<br /> 79
<br /> 80
</form> 81
</body> 82
</html> 83



