📄 recorditem.aspx
字号:
<%@ Page AutoEventWireup="false" Inherits="px.recorditem" %>
<!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 id="Head1" runat="server">
<title> </title>
<link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
<script src ="../js/common.js" type ="text/javascript" ></script>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody>
<tr><td><A href="#">系统首页</A> » 档案表项目管理
</td></tr></tbody></table><br/>
<table class="tableborder" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr class="header">
<td colspan ="2">
档案表项目管理</td>
</tr>
<tr>
<td style="width:40%; vertical-align: top; text-align: center; height: 2.02em;">
<span style="color: #3399cc"><strong>项目信息明细</strong></span>
<table class="guide" style="width:100%">
<tr>
<td style="width:100%; height: 1em; background-color: #87cefa;">
请点击右侧列表的项目名以查看。</td>
</tr>
<tr>
<td style=" height:400px; text-align: left; width:100%"><iframe id="show" name="show" style="Z-INDEX: 1; OVERFLOW: auto; WIDTH: 93%; HEIGHT: 99%" src="calssinfo.aspx" frameborder="0" scrolling="yes"></iframe>
</td>
</tr>
</table>
</td>
<td style="width:54%; vertical-align: top; text-align: center; height: 2.02em;">
<span style="color: #3399cc"><strong>项目列表</strong></span><table class="tableborder" cellspacing="0" cellpadding="0" width="100%" border="2" style="border-color :#33ccff">
<tr>
<td style="width:102%; height: 1em; background-color: #87cefa;">
<div>
当前共有项目:<asp:Label ID="sitem" runat="server" Width="100px"></asp:Label> 项目名:<asp:TextBox
ID="iname" runat="server" Style="vertical-align: middle" Width="69px"></asp:TextBox>
<asp:LinkButton ID="addclass" runat="server" Font-Bold="True" Font-Underline="True"
ForeColor="Teal">添加新项</asp:LinkButton></div></td>
</tr>
<tr>
<td style="width:102%;">
<asp:GridView ID="GV" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" DataKeyNames="id">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:TemplateField HeaderText="编号">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("id") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("id") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="项目名">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("classname") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# eval("id","calssinfo.aspx?id={0}") %>' Text='<%# bind("classname") %>' Target="show"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="secclass.aspx?id={0}"
Target="_self" Text="评分方式" />
<asp:TemplateField HeaderText="操作" ShowHeader="False">
<EditItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" CommandName="Update"
Text="更新"></asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Cancel"
Text="取消"></asp:LinkButton>
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Edit"
Text="编辑"></asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除" OnClientClick="return msgbox2('您确定要删除么?这个操作会影响所有学生的此项数据。','为了安全起见,请您再次确认该操作!');"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" VerticalAlign="Middle" />
<EmptyDataTemplate>
请增加项目
</EmptyDataTemplate>
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="#00C0C0" HorizontalAlign="Center" />
<HeaderStyle BackColor="LightGray" Font-Bold="True" ForeColor="White" Font-Size="Small" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -