您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->多功能在线考试系统源码>>Web/admin_PaperLists.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:多功能在线考试系统源码
当前文件:文件类型 OnLineExam/Web/admin_PaperLists.aspx打开代码结构图
高亮显示
		            <%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_PaperLists.aspx.cs" Inherits="Web_admin_PaperLists" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body topmargin=10 bgcolor="#f1f0f4">
    <form id="form1" runat="server">
    <div>
    <table  border="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse;" cellspacing="0" cellpadding="0" align="center" width=345>
		<tr height=40>
		    <td align=center><font size=5 face="隶书">试卷管理</font>
		    </td>
		</tr>		
		<tr>
		    <td align=center>
                <asp:GridView ID="GridView1" runat="server" Width=100% AutoGenerateColumns="False" DataKeyNames="PaperID" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating">
                    <Columns>
                        <asp:TemplateField HeaderText="编号" Visible=False>
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server"><%# Eval("PaperID") %></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField> 
                        <asp:TemplateField HeaderText="考试科目">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server"><%# Eval("Name") %></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Wrap="False" />
                        </asp:TemplateField> 
                        <asp:TemplateField HeaderText="试卷名称">
                            <ItemTemplate>
                                <asp:Label ID="Label3" runat="server"><%# Eval("PaperName") %></asp:Label>
                            </ItemTemplate>                            
                            <HeaderStyle Wrap="False" />
                        </asp:TemplateField> 
                        <asp:TemplateField HeaderText="试卷状态">
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server"><%# Eval("PaperState") %></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtPaperState" runat="server" Text='<%# Eval("PaperState") %>' Width=30></asp:TextBox>
                            </EditItemTemplate>
                            <HeaderStyle Wrap="False" />
                        </asp:TemplateField>                                                              
                        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="admin_SingleSelectAdd.aspx?ID={0}" HeaderText="详细..." Text="详细..." >
                            <HeaderStyle Wrap="False" />
                        </asp:HyperLinkField>                                           
                        <asp:CommandField ShowEditButton=True HeaderText=编辑 >
                            <HeaderStyle Wrap="False" />
                        </asp:CommandField>
                        <asp:CommandField ShowDeleteButton="True" HeaderText="删除" >
                            <HeaderStyle Wrap="False" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="Gainsboro" />
                </asp:GridView>
		    </td>
		</tr>
		<tr>
		    <td>
		    </td>
		</tr>
	</table>
    </div>
    </form>
</body>
</html>


        
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:多功能在线考试系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号