温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日网络考试系统源码
当前文件:
NetExam/HouAdmin/kaoshi_timu.aspx,打开代码结构图
NetExam/HouAdmin/kaoshi_timu.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="kaoshi_timu.aspx.cs" Inherits="HouAdmin_kaoshi_timu" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>考题信息</title> 8
</head> 9
<body style="text-align: center"> 10
<form id="form1" runat="server"> 11
<div style="text-align: center"> 12
<br /> 13
<table style="width: 800px; height: 533px; background-image: url(../igm/后台登录页面.jpg);"> 14
<tr> 15
<td colspan="3" style="height: 124px"> 16
<br /> 17
</td> 18
</tr> 19
<tr style="color: #000000"> 20
<td rowspan="2" style="width: 74px; text-align: center;" align="center"> 21
22
</td> 23
<td rowspan="2" style="vertical-align: top; width: 125px; text-align: left"> 24
<asp:TreeView ID="TreeView1" runat="server" ImageSet="Simple" NodeIndent="10" ShowLines="True" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged"> 25
<ParentNodeStyle Font-Bold="False" /> 26
<HoverNodeStyle Font-Underline="True" ForeColor="#DD5555" /> 27
<SelectedNodeStyle 28
Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ForeColor="#DD5555" /> 29
<Nodes> 30
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/admin.aspx" Text="管理员" Value="新建节点"> 31
</asp:TreeNode> 32
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/zhuce_stu.aspx" Text="管理注册学生" 33
Value="管理注册学生"></asp:TreeNode> 34
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/zhuanye_xinxi.aspx" Text="管理专业信息" 35
Value="管理专业信息"> 36
</asp:TreeNode> 37
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/kecheng_xinxi.aspx" Text="管理课程信息" 38
Value="管理课程信息"> 39
</asp:TreeNode> 40
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/taoti_xinxi.aspx" Text="管理套题信息" 41
Value="管理套题信息"> 42
</asp:TreeNode> 43
<asp:TreeNode NavigateUrl="~/HouAdmin/kaosheng_chengji.aspx" Text="管理考生成绩" Value="管理考生成绩"> 44
</asp:TreeNode> 45
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/kaoshi_timu.aspx" Text="管理考试题目" 46
Value="管理考试题目"> 47
</asp:TreeNode> 48
<asp:TreeNode Expanded="False" NavigateUrl="~/HouAdmin/insert_shiti.aspx" Text="添加试题" 49
Value="添加试题"> 50
</asp:TreeNode> 51
<asp:TreeNode Text="退出系统" Value="退出系统"></asp:TreeNode> 52
</Nodes> 53
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="0px" 54
NodeSpacing="0px" VerticalPadding="0px" /> 55
</asp:TreeView> 56
</td> 57
<td style="width: 256px; height: 11px; vertical-align: top; text-align: center;" align="center"> 58
<table width="550"> 59
<tr> 60
<td style="width: 2078px; height: 21px"> 61
<asp:Label ID="Label1" runat="server" Text="查询条件" Font-Size="9pt"></asp:Label></td> 62
<td style="width: 120px; height: 21px"> 63
<asp:DropDownList ID="ddlType" runat="server" Width="107px" Font-Size="9pt"> 64
<asp:ListItem Value="que_subject">考试题目</asp:ListItem> 65
<asp:ListItem Value="que_type">考题类型</asp:ListItem> 66
<asp:ListItem Value="Expr3">所属课程</asp:ListItem> 67
<asp:ListItem Value="Name">所属套题</asp:ListItem> 68
</asp:DropDownList></td> 69
<td style="width: 1080px; height: 21px"> 70
<asp:Label ID="Label2" runat="server" Text="关键字" Font-Size="9pt"></asp:Label></td> 71
<td style="width: 260px; height: 21px"> 72
<asp:TextBox ID="txtSelect" runat="server" Width="100px" Font-Size="9pt"></asp:TextBox></td> 73
<td style="width: 279px; height: 21px"> 74
<asp:Button ID="btnSelect" runat="server" OnClick="Button1_Click" Text="查询" Font-Size="9pt" /></td> 75
</tr> 76
</table> 77
78
79
<asp:GridView ID="gvExamTitle" runat="server" AllowPaging="True" AutoGenerateColumns="False" 80
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 81
CellPadding="4" ForeColor="Black" GridLines="Horizontal" OnPageIndexChanging="GridView1_PageIndexChanging" 82
OnRowDeleting="GridView1_RowDeleting" PageSize="5" Width="594px" Font-Size="9pt" OnRowDataBound="GridView1_RowDataBound"> 83
<FooterStyle BackColor="#CCCC99" ForeColor="Black" /> 84
<Columns> 85
<asp:BoundField DataField="que_subject" HeaderText="考试题目" /> 86
<asp:BoundField DataField="que_type" HeaderText="考试类型" /> 87
<asp:BoundField DataField="Name" HeaderText="所属套题" /> 88
<asp:BoundField DataField="que_joindate" HeaderText="加入时间" /> 89
<asp:BoundField DataField="Expr3" HeaderText="所属课程" /> 90
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="KaoshiUpdate.aspx?ID={0}" 91
HeaderText="修改" Text="修改" /> 92
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" /> 93
</Columns> 94
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" /> 95
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" /> 96
<HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" /> 97
</asp:GridView> 98
</td> 99
</tr> 100
<tr> 101
<td style="width: 256px; height: 70px"> 102
</td> 103
</tr> 104
</table> 105
106
</div> 107
</form> 108
</body> 109
</html> 110



