?? houtai.aspx
字號:
?<%@ Page Language="C#" AutoEventWireup="true" CodeFile="houtai.aspx.cs" Inherits="houtai" %>
<!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>
<style type="text/css">
<!--
.STYLE1 {color: #000000}
#Layer1 {
position:absolute;
left:16px;
top:135px;
width:160px;
height:243px;
z-index:1;
}
.STYLE4 {font-size: 14px}
.STYLE5 {
font-size: x-large;
font-weight: bold;
}
.STYLE6 {font-size: xx-large}
.STYLE7 {font-size: xx-large; font-family: "黑體"; }
-->
</style>
</head>
<body>
<form id="Form1" runat=server>
<table width="997" border="1" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="995" height="93"><span class="STYLE1">新聞后臺管理系統</span></td>
</tr>
</table>
<table width="995" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<!--DWLayoutTable-->
<tr>
<td valign="top" style="height: 264px" colspan="3"><span class="STYLE4">您的位置>><a href="index.aspx">首頁</a> >>后臺管理</span><br />
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="11%" bgcolor="#CCCCCC" style="height: 36px"> </td>
<td width="78%" rowspan="3" align="center" style="height: 36px"> <p>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="height: 206px">
<tr>
<td style="width: 770px; text-align: left; height: 25px;" colspan="2">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="編輯新聞" Width="101px" />
<br />
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click"
Text="添加新聞" Width="101px" />
</td>
</tr>
<tr>
<td style="width: 216px; text-align: left; height: 174px;">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None"
Style="font-size: 10pt;
font-family: 宋體, 黑體" Width="311px" Visible="False">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="newsid" DataNavigateUrlFormatString="~\bianji.aspx?newsid={0}"
DataTextField="newsbiaoti" HeaderText="選擇編輯選項" />
<asp:BoundField DataField="newsid" HeaderText="newsid" Visible="False" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:loginConnectionString %>"
SelectCommand="SELECT * FROM [news]">
</asp:SqlDataSource>
</td>
</tr>
</table>
<br />
</p></td>
<td width="11%" bgcolor="#CCCCCC" style="height: 36px"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" style="height: 30px"> </td>
<td bgcolor="#CCCCCC" style="height: 30px"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" style="height: 106px"> </td>
<td bgcolor="#CCCCCC" style="height: 106px"> </td>
</tr>
</table>
</td></tr>
<tr>
<td height="69" colspan="3" valign="top">
</td>
</tr>
<tr><td height="1"></td><td style="width: 404px"></td>
<td></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -