1 Star 0 Fork 2

Nan/asp.net学生成绩管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
AdminStu.aspx 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
Administrator 提交于 2023-02-12 22:31 . 更新添加项目文件。
<%@ Page language="c#" Codebehind="AdminStu.aspx.cs" AutoEventWireup="true"Inherits="GradeMis.AdminStu" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AdminStu</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="css/style.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Button id="Button1" runat="server" OnClick="Button1_Click" Text="录入学生信息"></asp:Button><br>
<br>
<asp:DataGrid id="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="480px" OnCancelCommand="DataGrid1_CancelCommand" OnDeleteCommand="DataGrid1_DeleteCommand" OnEditCommand="DataGrid1_EditCommand" OnItemCommand="DataGrid1_ItemCommand_1" OnPageIndexChanged="DataGrid1_PageIndexChanged" OnUpdateCommand="DataGrid1_UpdateCommand">
<HeaderStyle BackColor="#CCCC66"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="学号" ReadOnly="True" HeaderText="学号"></asp:BoundColumn>
<asp:BoundColumn DataField="姓名" HeaderText="姓名">
<HeaderStyle Width="100px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="性别" ReadOnly="True" HeaderText="性别"></asp:BoundColumn>
<asp:BoundColumn DataField="年龄" HeaderText="年龄"></asp:BoundColumn>
<asp:BoundColumn DataField="所在院系" HeaderText="所在院系"></asp:BoundColumn>
<asp:BoundColumn DataField="班级名" HeaderText="班级名"></asp:BoundColumn>
<asp:BoundColumn DataField="入学年份" ReadOnly="True" HeaderText="入学年份"></asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页"></PagerStyle>
</asp:DataGrid>
</form>
</body>
</HTML>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/x369/GradeMis.git
git@gitee.com:x369/GradeMis.git
x369
GradeMis
asp.net学生成绩管理系统
master

搜索帮助