⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 houtai.aspx

📁 随着计算机科学的发展
💻 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">您的位置&gt;&gt;<a href="index.aspx">首页</a> &gt;&gt;后台管理</span><br />
	
	<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
          <tr>
            <td width="11%" bgcolor="#CCCCCC" style="height: 36px">&nbsp;</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" />&nbsp;&nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp;&nbsp;<br />
                    <asp:Button ID="Button2" runat="server" OnClick="Button2_Click"
                        Text="添加新闻" Width="101px" />
                    &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;</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>
                    &nbsp;
                    &nbsp; &nbsp;</td>
              </tr>
            </table>            
                &nbsp;<br />
                &nbsp;</p></td>
            <td width="11%" bgcolor="#CCCCCC" style="height: 36px">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#CCCCCC" style="height: 30px">&nbsp;</td>
            <td bgcolor="#CCCCCC" style="height: 30px">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#CCCCCC" style="height: 106px">&nbsp;</td>
            <td bgcolor="#CCCCCC" style="height: 106px">&nbsp;</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 + -