📄 admxjxx.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ADMXJXX.aspx.cs" Inherits="LRDXJXX" %>
<!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>
<link href="~/css/mm.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">
<table style="width: 568px; height: 256px" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" style="height: 29px; text-align: center">
学籍异动管理</td>
</tr>
<tr>
<td style="width: 89px; height: 52px; text-align: right">
班级</td>
<td style="width: 330px; text-align: left; height: 52px;">
<asp:DropDownList ID="DDLclass" runat="server" Width="121px" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="class_name" DataValueField="class_ID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>" SelectCommand="SELECT [class_ID], [class_name] FROM [class]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 89px; height: 19px; text-align: right">
姓名</td>
<td style="width: 330px; height: 19px; text-align: left">
<asp:DropDownList ID="DDLname" runat="server" Width="123px" DataSourceID="SqlDataSource2" DataTextField="student_name" DataValueField="student_ID">
</asp:DropDownList><br />
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>" SelectCommand="SELECT [student_ID], [class_ID], [student_name] FROM [student_info] WHERE ([class_ID] = @class_ID)">
<SelectParameters>
<asp:ControlParameter ControlID="DDLclass" DefaultValue="1" Name="class_ID" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 89px; text-align: left; height: 102px;">
异动情况</td>
<td style="width: 330px; height: 102px;">
<asp:TextBox ID="swap" runat="server" TextMode="MultiLine" Height="95px" Width="322px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="swap"
ErrorMessage="内容不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 89px; height: 2px;">
</td>
<td style="width: 330px; height: 2px; text-align: left;">
<asp:Button ID="btn_delivery" runat="server" Text="提交" OnClick="Button1_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -