?? stuinfo.aspx
字號(hào):
<%@ Page language="c#" src="stuinfo.aspx.cs" AutoEventWireup="false" Inherits="class_kinghome.stuinfo" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>stuinfo</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
<form id="stuinfo" method="post" runat="server">
<table width="778" align="center" border="0">
<tr>
<td width="350">管理員登陸
<asp:label id="info" runat="server" Width="230px">(學(xué)生信息管理)</asp:label></td>
<td width="50">帳號(hào)</td>
<td><asp:textbox id="manager" runat="server" Width="100px"></asp:textbox></td>
<td width="50">密碼</td>
<td><asp:textbox id="pas" TextMode="Password" runat="server" Width="100px"></asp:textbox></td>
<td><asp:button id="enter" onclick="manaenter" runat="server" Text="登陸"></asp:button></td>
</tr>
<tr>
<td colSpan="6">
<table width="100%" border="0">
<tr>
<td width="100">系名</td>
<td width="100">學(xué)生姓名</td>
<td width="100">學(xué)生學(xué)號(hào)</td>
<td width="50">性別</td>
<td width="150">出生日期</td>
<td colSpan="3">
<asp:label id="change" runat="server" Width="150px"></asp:label>
<asp:Button id="condel" OnClick="delstu" runat="server" Text="確定" Visible="false"></asp:Button></td>
</tr>
<tr>
<td width="50"><asp:textbox id="dept" runat="server" Width="100px"></asp:textbox></td>
<td width="100"><asp:textbox id="stuname" runat="server" Width="90px"></asp:textbox></td>
<td><asp:textbox id="stuno" runat="server" Width="100px"></asp:textbox></td>
<td><asp:textbox id="stusex" runat="server" Width="40px"></asp:textbox></td>
<td><asp:textbox id="stubirth" runat="server"></asp:textbox></td>
<td><asp:button id="find" runat="server" Text="查找"></asp:button></td>
<td><asp:button id="add" onclick="addstu" runat="server" Text="添加"></asp:button></td>
<td><asp:button id="del" onclick="showdel" runat="server" Text="刪除"></asp:button></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td>
<asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="50" AllowPaging="True" HorizontalAlign="Center" AutoGenerateColumns="False">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<PagerStyle Position="TopAndBottom" Mode="NumericPages"></PagerStyle>
<AlternatingItemStyle BackColor="Silver"></AlternatingItemStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<Columns>
<asp:BoundColumn DataField="sname" HeaderText="學(xué)生姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="sno" HeaderText="學(xué)生學(xué)號(hào)"></asp:BoundColumn>
<asp:BoundColumn DataField="sdept" HeaderText="學(xué)生所在系"></asp:BoundColumn>
<asp:BoundColumn DataField="ssex" HeaderText="學(xué)生性別"></asp:BoundColumn>
<asp:BoundColumn DataField="sdate" HeaderText="出生日期" DataFormatString="{0:d}"></asp:BoundColumn>
</Columns>
</asp:datagrid></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -