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

📄 default.aspx

📁 ASP.net+Access数据库源码数据库源码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body style="background-color: silver">
    <form id="form1" runat="server">
        <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
        &nbsp;
        <asp:Label ID="Label1" runat="server" Font-Names="Arial Black" Font-Size="XX-Large"
            ForeColor="Blue" Text="电话通讯录" Width="198px" BorderStyle="None"></asp:Label><br />
        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" RenderMode="inline">
            <ContentTemplate>
                <div>
                    <table width = "210">
                        <tr>
                           <td style="width: 627px">厂部:</td>
                           <td style="width: 323px"><asp:DropDownList ID="DropDownList1" runat="server" Width = "142px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" style="background-color: gainsboro" /></td>
                        </tr>
                        <tr>
                           <td style="width: 627px; height: 31px;">部门:</td>
                           <td style="height: 31px; width: 323px;"><asp:DropDownList ID="DropDownList2" runat="server" Width = "141px" style="background-color: gainsboro" AutoPostBack="True" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged"/></td>
                        </tr>
                        </table>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel> 
            
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="inline">
                <ContentTemplate>
                    <asp:Button ID="Button1" runat="server" Text="查找" OnClick="Button1_Click" style="background-color: gainsboro" /> 
                    <hr />
                    <br />             
                    <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" style="background-color: gainsboro" Width="376px">
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView> &nbsp;
                </ContentTemplate>
            </asp:UpdatePanel>  
            <hr /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:LinkButton ID="LinkButton1" runat="server" Font-Size="X-Small" OnClick="LinkButton1_Click">进入管理</asp:LinkButton>
    </form>
</body>
</html>

⌨️ 快捷键说明

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