📄 sys.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sys.aspx.cs" Inherits="admin_sys" %>
<!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>
<style type="text/css">
<!--
.STYLE1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
<link href="../images/news.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<asp:FormView ID="FormView1" runat="server" BackColor="White" BorderColor="#CC9966"
BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="SqlDataSource1"
GridLines="Both">
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<EditRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<EditItemTemplate>
title:
<asp:TextBox ID="titleTextBox" runat="server" Text='<%# Bind("title") %>'>
</asp:TextBox><br />
name:
<asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>'>
</asp:TextBox><br />
email:
<asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>'>
</asp:TextBox><br />
qq:
<asp:TextBox ID="qqTextBox" runat="server" Text='<%# Bind("qq") %>'>
</asp:TextBox><br />
moshi:
<asp:TextBox ID="moshiTextBox" runat="server" Text='<%# Bind("moshi") %>'>
</asp:TextBox><br />
booknum:
<asp:TextBox ID="booknumTextBox" runat="server" Text='<%# Bind("booknum") %>'>
</asp:TextBox><br />
bbsnum:
<asp:TextBox ID="bbsnumTextBox" runat="server" Text='<%# Bind("bbsnum") %>'>
</asp:TextBox><br />
adminnum:
<asp:TextBox ID="adminnumTextBox" runat="server" Text='<%# Bind("adminnum") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
Text="更新">
</asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
Text="取消">
</asp:LinkButton>
</EditItemTemplate>
<RowStyle BackColor="White" ForeColor="#330099" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
<InsertItemTemplate>
title:
<asp:TextBox ID="titleTextBox" runat="server" Text='<%# Bind("title") %>'>
</asp:TextBox><br />
name:
<asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>'>
</asp:TextBox><br />
email:
<asp:TextBox ID="emailTextBox" runat="server" Text='<%# Bind("email") %>'>
</asp:TextBox><br />
qq:
<asp:TextBox ID="qqTextBox" runat="server" Text='<%# Bind("qq") %>'>
</asp:TextBox><br />
moshi:
<asp:TextBox ID="moshiTextBox" runat="server" Text='<%# Bind("moshi") %>'>
</asp:TextBox><br />
booknum:
<asp:TextBox ID="booknumTextBox" runat="server" Text='<%# Bind("booknum") %>'>
</asp:TextBox><br />
bbsnum:
<asp:TextBox ID="bbsnumTextBox" runat="server" Text='<%# Bind("bbsnum") %>'>
</asp:TextBox><br />
adminnum:
<asp:TextBox ID="adminnumTextBox" runat="server" Text='<%# Bind("adminnum") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
Text="插入">
</asp:LinkButton>
<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
Text="取消">
</asp:LinkButton>
</InsertItemTemplate>
<ItemTemplate>
<table border="0" cellspacing="10" width="530">
<tr>
<td align="center" bgcolor="#0033ff" colspan="2" style="height: 30px">
<span class="STYLE1" style="color: #000000">系 统 设 置<asp:Label ID="Label1" runat="server"></asp:Label></span></td>
</tr>
<tr style="color: #000000">
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted" width="147">
网站标题</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted" width="373">
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("title") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
站长名字</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("name") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
E-mail</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("email") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
Q Q</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("qq") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
默认显示模式</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
<asp:DropDownList ID="DropDownList1" runat="server" SelectedValue='<%# Bind("moshi") %>' Width="354px">
<asp:ListItem Selected="True" Value="bbs.aspx">BBS模式</asp:ListItem>
<asp:ListItem Value="book.aspx">留言本模式</asp:ListItem>
<asp:ListItem Value="new.aspx">留言模式</asp:ListItem>
</asp:DropDownList> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
留言本模式显示条数</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
<asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("booknum") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
论坛模式显示条数</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted">
<asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("bbsnum") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
后台管理显示条数</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
<asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("adminnum") %>' Width="350px"></asp:TextBox> </td>
</tr>
<tr>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
广告图片体积</td>
<td style="border-right: #0099ff 1px dotted; border-top: #0099ff 1px dotted; border-left: #0099ff 1px dotted;
border-bottom: #0099ff 1px dotted; height: 18px">
<asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("adcut") %>' Width="139px"></asp:TextBox>因为只是一个广告位置,我们不考虑长宽</td>
</tr>
<tr>
<td align="center" bgcolor="#aeb1e6" colspan="2" style="height: 25px">
<asp:Button ID="Button1" runat="server" Text="更新" OnClick="Button1_Click" /></td>
</tr>
</table>
<br />
</ItemTemplate>
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:book %>"
ProviderName="<%$ ConnectionStrings:book.ProviderName %>" SelectCommand="SELECT * FROM [config]">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -