📄 kaixin.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/ChildMasterPage.master" AutoEventWireup="true" CodeFile="kaixin.aspx.cs" Inherits="kaixin" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" style="left: 0px; width: 100%;
position: relative; top: 0px; height: 100%">
<tr>
<td style="width: 69%; height: 2%">
<a href="Default.aspx">首页</a>>>开心生活</td>
<td style="width: 100%; height: 2%">
</td>
</tr>
<tr>
<td align="left" style="width: 69%; height: 95%" valign="top">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
CellPadding="3" DataKeyNames="id" DataSourceID="AccessDataSource1" Style="position: relative">
<FooterStyle BackColor="White" ForeColor="#000066" />
<Columns>
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
SortExpression="id">
<ControlStyle BackColor="#FFC0C0" BorderColor="#80FF80" BorderStyle="Dashed" Font-Size="Medium"
ForeColor="Blue" Width="200px" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Bottom" Width="100px" Wrap="False" />
</asp:BoundField>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="content.aspx?id={0}"
DataTextField="title" NavigateUrl="~/kaixin.aspx">
<ControlStyle Width="500px" />
<ItemStyle HorizontalAlign="Center" Width="395px" />
</asp:HyperLinkField>
</Columns>
<RowStyle ForeColor="#000066" />
<EmptyDataTemplate>
暂时没有数据!
</EmptyDataTemplate>
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/s.mdb"
SelectCommand="SELECT * FROM [baojianwangshujukudb] WHERE ([kind] = ?) ORDER BY [id] DESC">
<SelectParameters>
<asp:QueryStringParameter Name="kind" QueryStringField="kind" Type="String" />
</SelectParameters>
</asp:AccessDataSource>
</td>
<td style="width: 100%; height: 95%" valign="top">
</td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 19%" valign="baseline">
底部广告</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -