温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:多功能在线考试系统改进版源码
当前文件:
OnLineExamUpdate/Web/FillBlankManage.aspx,打开代码结构图
OnLineExamUpdate/Web/FillBlankManage.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FillBlankManage.aspx.cs" Inherits="Web_FillBlankManage" %> 2
<%@ Register Src="../Controls/lefttree.ascx" TagName="lefttree" TagPrefix="uc1" %> 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 id="Head1" runat="server"> 8
<title>填空题管理</title> 9
<script src="../JS/Morning_JS.js" type="text/javascript"></script> 10
<link href="../CSS/CSS.css" rel="stylesheet" type="text/css" /> 11
</head> 12
<body style="margin: 0px" onload="showTime();"> 13
<form id="Form1" method="post" runat="server"> 14
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"> 15
16
<tr> 17
<td style="height:4px;" colspan="3"> 18
<img src="../Images/logo.jpg" style="border: 0px; left: 0px; position: relative; top: 0px;" title="" width ="100%"/> 19
</td> 20
</tr> 21
<tr style="background: url(../Images/lineS.jpg) repeat-x;"> 22
<td style="height:25;" colspan="3"> 23
欢迎您:<asp:Label ID="labUser" runat="server" Text="Label" Width="70px"></asp:Label> 24
<script type="text/javascript">getDate();</script> 25
26
<span id="ShowTime"></span></td> 27
</tr> 28
29
30
<tr> 31
<td style="width: 130px" align="center" valign="top"> 32
<uc1:lefttree ID="Lefttree1" runat="server" /> 33
</td> 34
<td style="width: 4px; background: url(../Images/line.gif) repeat-y;"> 35
</td> 36
<td valign="top" align="left" width="960px"> 37
38
<h4>>>填空题管理</h4> 39
<hr/> <p align="left"><asp:DropDownList ID="ddlCourse" runat="server" AutoPostBack="True" Width="130px" OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged"></asp:DropDownList></p> 40
<asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="12" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="ID" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Size="13px" OnRowDeleting="GridView1_RowDeleting"> 41
<Columns> 42
<asp:TemplateField HeaderText="编号" Visible=false> 43
<ItemTemplate> 44
<asp:Label ID="Label1" runat="server"><%# Eval("ID") %></asp:Label> 45
</ItemTemplate> 46
</asp:TemplateField> 47
<asp:TemplateField HeaderText="序号"> 48
<ItemTemplate> 49
<center><asp:Label id="Label10" runat="server" Text='<%# Container.DataItemIndex+1 %>'></asp:Label></center> 50
</ItemTemplate> 51
</asp:TemplateField> 52
<asp:BoundField DataField="FrontTitle" HeaderText="题目前部分" /> 53
<asp:BoundField DataField="BackTitle" HeaderText="题目后部分" /> 54
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="FillBlankAdd.aspx?ID={0}" HeaderText="详细..." Text="详细..." /> 55
56
<asp:CommandField ShowDeleteButton="True" HeaderText="删除" /> 57
</Columns> 58
<FooterStyle BackColor="White" ForeColor="#000066" /> 59
<RowStyle ForeColor="#000066" /> 60
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> 61
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> 62
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 63
</asp:GridView> 64
<br /><a href="FillBlankAdd.aspx" style="font-size:medium;"><font color=red><u>添加填空题</u></font></a> 65
66
</td> 67
</tr> 68
</table> 69
</form> 70
</body> 71
</html> 72



