Manager/editstudent1.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editstudent1.aspx.cs" Inherits="editstudent1" StylesheetTheme="Blue" %>
<!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>
<form id="form1" runat="server">
<div>
<table align="center" style="width: 400px; height: 200px; background-color: #99ccff;">
<tr>
<td style="width: 400px; height: 40px; text-align: center">
<span style="font-size: 14pt; color: #ff0099; font-family: 仿宋_GB2312"><strong>编辑学生记录</strong></span></td>
</tr>
<tr>
<td style="width: 274px; height: 128px;">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2"
Font-Bold="True" Font-Size="10pt" ForeColor="Black" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging"
Width="399px" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing">
<FooterStyle BackColor="Tan" />
<Columns>
<asp:BoundField DataField="sno" HeaderText="学号">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="sname" HeaderText="姓名">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="ssex" HeaderText="性别">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="snation" HeaderText="民族">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="sclass" HeaderText="班号">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:CommandField ShowEditButton="True" HeaderText="操作1" >
<ItemStyle ForeColor="Blue" HorizontalAlign="Center" />
</asp:CommandField>
<asp:CommandField ShowDeleteButton="True" HeaderText="操作2" >
<ItemStyle ForeColor="Red" HorizontalAlign="Center" />
</asp:CommandField>
</Columns>
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<AlternatingRowStyle BackColor="PaleGoldenrod" />
</asp:GridView>
</td>
</tr>
<tr>
<td style="width: 274px; height: 25px">
<asp:Button ID="Button1" runat="server" Text="退出编辑" OnClick="Button1_Click" /></td>
</tr>
</table>
后面还有 5 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
