您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->多功能在线考试系统改进版源码>>Web/CourseManage.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:多功能在线考试系统改进版源码
当前文件:文件类型 OnLineExamUpdate/Web/CourseManage.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CourseManage.aspx.cs" Inherits="Web_CourseManage" %> 2 3<%@ Register Src="../Controls/lefttree.ascx" TagName="lefttree" TagPrefix="uc1" %> 4 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6 7<html xmlns="http://www.w3.org/1999/xhtml" > 8<head id="Head1" runat="server"> 9 <title>考试科目管理</title> 10 <script src="../JS/Morning_JS.js" type="text/javascript"></script> 11 <link href="../CSS/CSS.css" rel="stylesheet" type="text/css" /> 12</head> 13<body style="margin: 0px" onload="showTime();"> 14 <form id="Form1" method="post" runat="server"> 15 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"> 16 17 <tr> 18 <td style="height:4px;" colspan="3"> 19 <img src="../Images/logo.jpg" style="border: 0px; left: 0px; position: relative; top: 0px;" title="" width ="100%"/> 20 </td> 21 </tr> 22 <tr style="background: url(../Images/lineS.jpg) repeat-x;"> 23 <td style="height:25;" colspan="3"> 24 &nbsp;&nbsp;&nbsp;欢迎您:<asp:Label ID="labUser" runat="server" Text="Label" Width="70px"></asp:Label>&nbsp;&nbsp; 25 <script type="text/javascript">getDate();</script> 26 27 <span id="ShowTime"></span></td> 28 </tr> 29 30 31 <tr> 32 <td style="width: 130px" align="center" valign="top"> 33 <uc1:lefttree ID="Lefttree1" runat="server" /> 34 </td> 35 <td style="width: 4px; background: url(../Images/line.gif) repeat-y;"> 36 </td> 37 <td valign="top" align="left"> 38 39 <h4>&gt;&gt;考试科目管理</h4> 40 <hr/> 41 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="12" OnRowDataBound="GridView1_RowDataBound" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Size="13px" Width="541px" DataKeyNames="ID" 42 OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" > 43 <Columns> 44 <asp:TemplateField HeaderText="编号"> 45 <ItemTemplate> 46 <asp:Label ID="Label1" runat="server"><%# Eval("ID") %></asp:Label> 47 </ItemTemplate> 48 </asp:TemplateField> 49 <asp:TemplateField HeaderText="考试科目"> 50 <EditItemTemplate> 51 <asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name") %>' Width="80"></asp:TextBox> 52 </EditItemTemplate> 53 <ItemTemplate> 54 <asp:Label ID="Label2" runat="server"><%# Eval("Name") %></asp:Label> 55 </ItemTemplate> 56 </asp:TemplateField> 57 <asp:CommandField HeaderText="编辑" ShowEditButton="True" /> 58 <asp:TemplateField HeaderText="删除" ShowHeader="False"> 59 <ItemTemplate> 60 <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" OnClientClick="return confirm('确认要删除吗?');" 61 Text="删除"></asp:LinkButton> 62 </ItemTemplate> 63 </asp:TemplateField> 64 </Columns> 65 <FooterStyle BackColor="White" ForeColor="#000066" /> 66 <RowStyle ForeColor="#000066" /> 67 <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> 68 <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" /> 69 <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 70 </asp:GridView> 71 <br /><a href="CourseAdd.aspx" style="font-size: medium;"><font color=red><u>添加考试科目</u></font></a> 72 73 </td> 74 </tr> 75 </table> 76 </form> 77</body> 78</html> 79
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:多功能在线考试系统改进版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号