温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:大学生调查投票系统源码
当前文件:
StudentVote/Vote.aspx,打开代码结构图
StudentVote/Vote.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Vote.aspx.cs" Inherits="Vote" %> 2
3
<%@ Register Src="Footer.ascx" TagName="Footer" TagPrefix="uc1" %> 4
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc2" %> 5
6
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 7
8
<html xmlns="http://www.w3.org/1999/xhtml" > 9
<head runat="server"> 10
<title>投票</title> 11
<link href="CSS/StyleSheet.css" rel="stylesheet" type="text/css" /> 12
</head> 13
<body style="margin-top: 0px; padding-top: 0px; text-align: center"> 14
<form id="form1" runat="server"> 15
<table cellpadding="0" cellspacing="0" style="width: 755px"> 16
<tr> 17
<td colspan="3" rowspan="1" style="width: 758px; height: 87px; vertical-align: top;"> 18
<uc2:Header ID="Header1" runat="server" /> 19
</td> 20
</tr> 21
<tr> 22
<td colspan="3" rowspan="3" style="width: 758px; height: 85px; vertical-align: top;"> 23
<table style="background-image: url(Images/bdg.jpg); vertical-align: top; width: 755px; 24
height: 381px; text-align: center"> 25
<tr> 26
<td style="vertical-align: middle; width: 216px; text-align: right"> 27
<asp:Label ID="labState" runat="server" Font-Size="9pt" Width="184px" Height="10px"></asp:Label></td> 28
<td rowspan="2" style="border-left: #cccccc thin solid; width: 2px"> 29
<asp:Label ID="l1" runat="server" Height="71px" Width="5px"></asp:Label></td> 30
<td style="width: 241px; text-align: left"> 31
<asp:Label ID="labContent" runat="server" Font-Size="9pt" Width="264px"></asp:Label></td> 32
<td> 33
</td> 34
</tr> 35
<tr> 36
<td style="width: 216px; height: 32px"> 37
</td> 38
<td style="border-left-color: #ff0033; vertical-align: top; width: 241px; height: 32px; 39
text-align: left"> 40
<table style="width: 267px; height: 23px" cellpadding="0" cellspacing="0"> 41
<tr> 42
<td colspan="3" rowspan="3" style="height: 19px; text-align: left"> 43
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Size="9pt" Width="270px"> 44
</asp:RadioButtonList></td> 45
</tr> 46
<tr> 47
</tr> 48
<tr> 49
</tr> 50
</table> 51
</td> 52
<td style="vertical-align: middle; height: 32px; text-align: left"> 53
<table style="width: 82px" cellpadding="0" cellspacing="0"> 54
<tr> 55
<td colspan="3" style="width: 85px"> 56
<asp:Button ID="btnVote" runat="server" Font-Size="9pt" OnClick="btnVote_Click" Text="投票" /> 57
<asp:Button ID="btnView" runat="server" Font-Size="9pt" Text="查看" OnClick="btnView_Click" /></td> 58
</tr> 59
<tr> 60
<td colspan="3" rowspan="2" style="width: 85px"> 61
<asp:Button ID="btnEdit" runat="server" Font-Size="9pt" Text="编辑选项" OnClick="btnEdit_Click" /></td> 62
</tr> 63
<tr> 64
</tr> 65
</table> 66
</td> 67
</tr> 68
<tr> 69
<td style="width: 216px; height: 218px"> 70
</td> 71
<td rowspan="1" style="border-left-width: thin; border-left-color: #ff0000; width: 2px; 72
height: 218px"> 73
</td> 74
<td style="border-left-color: #ff0033; vertical-align: top; width: 241px; height: 218px; 75
text-align: left"> 76
</td> 77
<td style="vertical-align: top; height: 218px; text-align: center"> 78
</td> 79
</tr> 80
</table> 81
</td> 82
</tr> 83
<tr> 84
</tr> 85
<tr> 86
</tr> 87
<tr> 88
<td colspan="3" rowspan="1" style="width: 758px; height: 5px"> 89
</td> 90
</tr> 91
<tr> 92
<td colspan="3" rowspan="1" style="width: 758px; height: 55px"> 93
<uc1:Footer ID="Footer1" runat="server" /> 94
</td> 95
</tr> 96
</table> 97
98
</form> 99
</body> 100
</html> 101



