📄 codetable.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="codetable.aspx.cs" Inherits="admin_Default2" %>
<!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 id="Head1" runat="server">
<title>添加小区周边(公区)设施</title>
<LINK href="image/style.css" type=text/css rel=stylesheet>
</head>
<body>
<form id="form1" runat="server">
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0>
<TBODY>
<TR>
<TD style="height: 27px"><IMG alt="" src="image/r_1.gif"></TD>
<TD width="100%" background=image/r_0.gif style="height: 5px"></TD>
<TD style="height: 27px"><IMG alt="" src="image/r_2.gif"></TD></TR>
<TR>
<TD></TD>
<TD>
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center
border=1>
<tbody>
<tr>
<td class=category colspan="5">
系统相关参数维护</td>
</tr>
<tr>
<td colspan="2" style="height: 20px; width: 110px;" align="right">
<span style="color: #003373; background-color: #ffffff">请选择参数类别:</span></td>
<td colspan="3" style="height: 20px">
<asp:DropDownList ID="para" runat="server" Width="138px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem>请选择选项</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" colspan="5" style="height: 23px; text-align: left">
<asp:GridView ID="GridView1" runat="server" CellPadding="4"
Width="591px" AutoGenerateColumns="False" DataKeyNames="id" OnRowEditing="GridView1_RowEditing" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" OnRowCancelingEdit="GridView1_RowCanceling" OnRowUpdating="GridView1_RowUpdating" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting">
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
<Columns>
<asp:BoundField DataField="code" HeaderText="代码" ReadOnly="True" />
<asp:BoundField DataField="name" HeaderText="名称" />
<asp:BoundField HeaderText="装修标准" DataField="typename" ReadOnly="True" />
<asp:CommandField ShowEditButton="True" HeaderText="编辑" />
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
</Columns>
</asp:GridView>
<asp:Label ID="Label1" runat="server" ForeColor="Red" Text="Label" Width="170px" Visible="False"></asp:Label></td>
</tr>
<tr>
<td colspan="2" align="right" style="height: 23px; width: 110px; text-align: right;">
代码:</td>
<td align="right" colspan="3" style="height: 23px; text-align: left">
<asp:TextBox ID="txtcode" runat="server" ValidationGroup="add"></asp:TextBox>
<asp:Label ID="Label2" runat="server" ForeColor="#FF0000" Visible="False" Width="100px"></asp:Label>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtcode"
Display="Dynamic" ErrorMessage="代码不为空!" ValidationGroup="add"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 110px; height: 23px">
名称:</td>
<td align="right" colspan="3" style="height: 23px; text-align: left">
<asp:TextBox ID="txtname" runat="server" ValidationGroup="add"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtname"
ErrorMessage="名称不为空!" ValidationGroup="add"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 110px; height: 23px">
</td>
<td align="right" colspan="3" style="height: 23px; text-align: left">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加新选项" Width="117px" ValidationGroup="add" /></td>
</tr>
<tr>
<td align="right" colspan="5" style="height: 23px; text-align: left;">
</td>
</tr>
</tbody>
</table>
</TD>
<TD></TD></TR>
<TR>
<TD><IMG alt="" src="image/r_4.gif"></TD>
<TD></TD>
<TD><IMG alt=""
src="image/r_3.gif"></TD></TR></TBODY></TABLE>
</form>
</BODY>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -