?? homeadd.aspx
字號:
<%@ Page Language="C#" MasterPageFile ="~/Admin.master" AutoEventWireup="true" CodeFile="homeadd.aspx.cs" Inherits="homeadd" Title ="寢室樓添加"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class="tableBorder" style="width: 92%; text-align: left">
<tr bordercolor="#000000" bgcolor="#000000"><th colspan=9 class="tableHeaderText" style="height: 26px; text-align: center;"> 寢室管理->寢室樓添加</th></tr>
<tr bordercolor="#000000" bgcolor="#000000">
<td align="right" class="forumRow" style="width: 402px">
寢室樓的名稱:</td>
<td class="forumRow">
<asp:TextBox ID="homename" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="homename"
ErrorMessage="RequiredFieldValidator">不能為空</asp:RequiredFieldValidator></td></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align=right class="forumRow" style="width: 402px">
寢室樓的類別:</td><td class="forumRow">
<asp:DropDownList ID="homesex" runat="server">
<asp:ListItem Selected="True">請選擇</asp:ListItem>
<asp:ListItem>男生</asp:ListItem>
<asp:ListItem>女生</asp:ListItem>
</asp:DropDownList></td></tr>
<tr bgcolor="#000000" bordercolor="#000000">
<td align="center" class="forumRow" colspan="2">
<asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 14px;
color: red"></asp:Label></td>
</tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align="center" class="forumRow" colspan="2" rowspan="6" style="height: 93px">
<asp:DataGrid ID ="mydatagrid" runat =server style="font-size: 16px" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" GridLines="None" OnPageIndexChanged="mydatagrid_PageIndexChanged" Width="235px" OnItemDataBound="mydatagrid_ItemDataBound" ForeColor="#333333">
<FooterStyle BackColor="#507CD1" ForeColor="Black" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
<SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="LightBlue" ForeColor="Black" HorizontalAlign="Center" NextPageText="下一頁" PrevPageText="上一頁" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
<AlternatingItemStyle BackColor="White" />
<ItemStyle BackColor="#EFF3FB" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundColumn DataField="id" HeaderText="編號"></asp:BoundColumn>
<asp:BoundColumn DataField="home" HeaderText="幾棟"></asp:BoundColumn>
<asp:BoundColumn DataField="homesex" HeaderText="寢室類別"></asp:BoundColumn>
</Columns>
<EditItemStyle BackColor="#2461BF" />
</asp:DataGrid></td></tr>
<tr bordercolor="#000000" bgcolor="#000000">
</tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align="center" colspan=2 class="forumRow" style="height: 24px">
<asp:Button ID="Button1" runat="server" Text=" 添 加" OnClick="Button1_Click" />
</td></tr>
</table>
<br />
<table border="0" cellpadding="3" cellspacing="1" class="tableBorder"
style="width: 92%; text-align: left;">
<tr>
<th class="tableHeaderText" colspan="3" height="25" style="text-align: center">
學生寢室管理系統</th>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 394px">
程序開發:</td>
<td class="forumRow" colspan="2">
浪漫雪弧</td>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 394px">
程序負責:</td>
<td class="forumRow" colspan="2">
一半情弧</td>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 394px">
聯系方法:</td>
<td class="forumRow" colspan="2">
QQ 562873726</td>
</tr>
</table>
</asp:Content>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -