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

📄 bloglist.aspx

📁 内容管理 内容管理 内容管理 内容管理 内容管理
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BlogList.aspx.cs" Inherits="WebPage_BlogList" %>

<!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>
 <LINK REL='stylesheet' Type='text/css' href="../css/css2.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div align=center >
        &nbsp;</div>
        <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 590px; background-color: #ffffff;">
       
            <tr>
                <td align="center" style="width: 100px">
        <table id="Table1" border="0" cellpadding="0" cellspacing="0" width="590" style="height: 63%">
            <tr>
                <td style="height: 173px">
                    &nbsp;</td>
                <td align="middle" valign="top" width="100%" style="height: 173px">
                    <table id="Table2" border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 46%">
                        <tr>
                            <td align="left" style="height: 34px" valign="center">
                                <table id="Table3" align="left" border="0" cellpadding="0" cellspacing="0" height="100%"
                                    width="100%">
                                    <tr>
                                        <td align="middle" colspan="10" style="font-size: 1pt; height: 12px" valign="center">
                                            </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 400px; height: 30px">
                                            </td>
                                        <td style="height: 30px" align="right">
                                              <asp:Button ID="btnDel" runat="server" CssClass="button_all" Height="22px" OnClick="btnDel_Click"
                                                Text="删 除" Width="57px" />&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:Button ID="btnAdd" runat="server" CausesValidation="False" CssClass="button_all"
                                                Height="22px" TabIndex="4" Text="新 建" Width="60px" OnClick="btnAdd_Click" /></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr style="font-size: 1pt; height: 3px">
                            <td align="left" style="font-size: 1pt; height: 3px" >
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align=center valign="top" style="height: 98px">
                                &nbsp;
                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
                                    AutoGenerateColumns="False" BorderWidth="1px" Width="100%"  OnPageIndexChanging="changepage" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1" Font-Size="9pt">
                                    <PagerSettings  FirstPageText="首页" LastPageText="最后一页" NextPageText="下一页" PreviousPageText="上一页" Mode="NextPreviousFirstLast" />
                                    <PagerStyle HorizontalAlign="Right" Font-Bold="True" Font-Size="X-Small" Font-Strikeout="False" Font-Underline="False" />
                                    <Columns>
                                        <asp:BoundField DataField="ID" HeaderText="ID" ApplyFormatInEditMode="True">
                                            <ItemStyle Width="60px" HorizontalAlign="Center" Wrap="False" />
                                            <HeaderStyle BackColor="#ECF1F9" HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="CheckSelected" HeaderText="&lt;INPUT id=&quot;chkAll&quot; style=&quot;CURSOR: hand&quot; onclick=&quot;SelectAllcheckBox();&quot; type=&quot;checkbox&quot;&gt;"
                                            HtmlEncode="False">
                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            <HeaderStyle HorizontalAlign="Center" BackColor="#ECF1F9" />
                                        </asp:BoundField>
                                        <asp:ButtonField CommandName="Select" DataTextField="Title" HeaderText="标&amp;nbsp;&amp;nbsp;题">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" BackColor="#ECF1F9" />
                                        </asp:ButtonField>
                                        <asp:BoundField DataField="ReadTotal" HeaderText="阅读次数">
                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            <HeaderStyle HorizontalAlign="Center" BackColor="#ECF1F9" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="CreateTime" HeaderText="发表时间">
                                            <ItemStyle HorizontalAlign="Center" Width="110px" />
                                            <HeaderStyle HorizontalAlign="Center" BackColor="#ECF1F9" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="IsNominate" HeaderText="是否显示" HtmlEncode="False">
                                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                                            <HeaderStyle HorizontalAlign="Center" BackColor="#ECF1F9" />
                                        </asp:BoundField>
                                    </Columns>                                   
                                       
                                    <AlternatingRowStyle BackColor="Snow" />
                                </asp:GridView>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="center">
                                &nbsp;<input id="hidWhere" runat="server" name="hidWhere" size="1" style="width: 19px;
                                                height: 22px" type="hidden" /><input id="hidIsModify" runat="server" name="hidIsModify"
                                                    size="1" style="width: 19px; height: 22px" type="hidden" /></td>
                        </tr>
                    </table>
                </td>
                <td style="height: 173px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="height: 81px">
                    &nbsp;</td>
                <td align="left" valign="center" style="height: 81px">
                    &nbsp; &nbsp;&nbsp;
                    <div id="divParent" runat="server" style="border-right: #cecfde 1px solid; border-top: #cecfde 1px solid;
                        display: none; border-left: #cecfde 1px solid; width: 376px; border-bottom: #cecfde 1px solid;
                        height: 15px">                      
                    </div>
                </td>
                <td style="height: 81px">
                    &nbsp;</td>
            </tr>
        </table>
                </td>
            </tr>
            <tr>
                <td align="center" >
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -