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

📄 main.aspx

📁 用c# asp.net 编写b/s模式的管理系统
💻 ASPX
字号:
<%@ page language="C#" autoeventwireup="true" inherits="main, App_Web_xtvwqxfv" %>

<!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>
</head>
<body bgcolor="silver">
    <form id="form1" runat="server">
    <div>
        <div style="z-index: 101; left: 62px; border-bottom-color: black; width: 799px; position: absolute;
            top: 22px; height: 42px; border-bottom-style: solid">
            <asp:Label ID="Label1" runat="server" Style="left: 11px; position: absolute; top: 13px"
                Text="欢迎:"></asp:Label>
            <asp:Label ID="Label2" runat="server" Font-Names="方正行楷简体" Font-Size="Large" Style="left: 54px;
                position: absolute; top: 12px" Text="Label"></asp:Label>
            <asp:Label ID="Label3" runat="server" Style="left: 115px; position: absolute; top: 15px"
                Text="回来"></asp:Label>
            <asp:HyperLink ID="HyperLink1" runat="server" Font-Names="方正行楷简体"
                Style="left: 172px; position: absolute; top: 13px">【修改信息】</asp:HyperLink>
            &nbsp;&nbsp;
        </div>
    </div>
        <div style="border-right: black thin solid; border-top: black thin solid; z-index: 102;
            left: 92px; border-left: black thin solid; width: 216px; border-bottom: black thin solid;
            position: absolute; top: 89px; height: 463px">
            <div style="border-top: black thin solid; z-index: 101; left: 14px; width: 183px;
                position: absolute; top: 135px; height: 317px">
                <asp:Label ID="Label4" runat="server" Font-Names="方正行楷简体" Style="left: 11px; position: absolute;
                    top: 12px" Text="姓名:"></asp:Label>
                &nbsp;
                <asp:Label ID="Label5" runat="server" Font-Names="方正行楷简体" Style="left: 11px; position: absolute;
                    top: 51px" Text="性别:"></asp:Label>
                &nbsp;
                <asp:Label ID="Label6" runat="server" Font-Names="方正行楷简体" Style="left: 11px; position: absolute;
                    top: 90px" Text="年龄:"></asp:Label>
                &nbsp;
                <asp:Label ID="Label7" runat="server" Font-Names="方正行楷简体" Style="left: 11px; position: absolute;
                    top: 129px" Text="级别:"></asp:Label>
                &nbsp;
                <asp:Label ID="Label8" runat="server" Font-Names="方正行楷简体" Style="left: 10px; position: absolute;
                    top: 161px" Text="个性签名:"></asp:Label>
                <asp:Label ID="Label9" runat="server" Height="121px" Style="border-top: black thin solid;
                    left: 11px; border-left: black thin solid; border-bottom: black thin solid; position: absolute;
                    top: 189px; border-right: black thin solid;" Width="161px"></asp:Label>
                <asp:Label ID="Label10" runat="server" Style="left: 57px; position: absolute; top: 14px"
                    Width="68px"></asp:Label>
                <asp:Label ID="Label11" runat="server" Style="left: 57px; position: absolute; top: 52px"
                    Width="68px"></asp:Label>
                <asp:Label ID="Label12" runat="server" Style="left: 57px; position: absolute; top: 90px"
                    Width="68px"></asp:Label>
                <asp:Label ID="Label13" runat="server" Style="left: 57px; position: absolute; top: 130px"
                    Width="68px"></asp:Label>
            </div>
            <asp:Image ID="Image1" runat="server" Height="118px" Style="left: 41px; position: absolute;
                top: 4px" Width="104px" />
        </div>
        <div style="z-index: 103; left: 328px; border-left: black thin solid; width: 483px;
            position: absolute; top: 91px; height: 729px">
            <div style="z-index: 102; left: 28px; width: 456px; position: absolute; top: 36px;
                height: 305px">
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
                    AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Height="249px" Style="border-right: black thin solid;
                    border-top: black thin solid; border-left: black thin solid; border-bottom: black thin solid;
                    position: absolute; border-collapse: separate" Width="398px">
                    <Columns>
                        <asp:BoundField DataField="名称" HeaderText="名称" ReadOnly="True" SortExpression="名称">
                            <ItemStyle Width="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="类别" HeaderText="类别" SortExpression="类别">
                            <ItemStyle Width="40px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="数量" HeaderText="数量" SortExpression="数量">
                            <ItemStyle Width="40px" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:mmConnectionString %>"
                    SelectCommand="SELECT [名称], [类别], [数量] FROM [库存办公用品]"></asp:SqlDataSource>
            </div>
            <asp:Label ID="Label14" runat="server" Font-Names="方正行楷简体" Font-Size="Large" Style="z-index: 100;
                left: 156px; position: absolute; top: 0px" Text="【库存信息】"></asp:Label>
            <div style="z-index: 103; left: 28px; width: 452px; position: absolute; top: 394px;
                height: 286px">
                <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AllowSorting="True"
                    AutoGenerateColumns="False" DataKeyNames="领用时间" DataSourceID="SqlDataSource2"
                    Style="border-right: black thin solid; border-top: black thin solid; border-left: black thin solid;
                    border-bottom: black thin solid; position: absolute; border-collapse: separate;" Width="398px">
                    <Columns>
                        <asp:BoundField DataField="名称" HeaderText="名称" SortExpression="名称" />
                        <asp:BoundField DataField="类别" HeaderText="类别" SortExpression="类别" />
                        <asp:BoundField DataField="数量" HeaderText="数量" SortExpression="数量" />
                        <asp:BoundField DataField="领用人" HeaderText="领用人" SortExpression="领用人" />
                        <asp:BoundField DataField="领用时间" HeaderText="领用时间" ReadOnly="True" SortExpression="领用时间" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:mmConnectionString %>"
                    SelectCommand="SELECT [名称], [类别], [数量], [领用人], [领用时间] FROM [在用办公用品] WHERE ([领用人] = @领用人)">
                    <SelectParameters>
                        <asp:QueryStringParameter Name="领用人" QueryStringField="realname" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </div>
            <asp:Label ID="Label15" runat="server" Font-Names="方正行楷简体" Font-Size="Large" Style="left: 172px;
                position: absolute; top: 359px" Text="【领用信息】"></asp:Label>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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