代码拉取完成,页面将自动刷新
<%@ Page language="c#" Codebehind="AdminTeacher.aspx.cs" AutoEventWireup="true"Inherits="GradeMis.AdminTeacher" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AdminTeacher</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">
<FONT face="宋体">
<asp:Button id="Button1" runat="server" OnClick="Button1_Click" Text="添加授课信息"></asp:Button><br>
<br>
<asp:DataGrid id="DataGrid1" runat="server" AllowPaging="True" Width="400px" AutoGenerateColumns="False" OnCancelCommand="DataGrid1_CancelCommand" OnDeleteCommand="DataGrid1_DeleteCommand" OnEditCommand="DataGrid1_EditCommand" OnPageIndexChanged="DataGrid1_PageIndexChanged" OnUpdateCommand="DataGrid1_UpdateCommand">
<HeaderStyle BackColor="#CCCC66"></HeaderStyle>
<Columns>
<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:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页"></PagerStyle>
</asp:DataGrid>
</FONT>
</form>
</body>
</HTML>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。