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

📄 master_userinfo.aspx

📁 网上销售订单管理系统借助现代信息技术和管理理论
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Master_UserInfo.aspx.cs" Inherits="Master_UserInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_title" Runat="Server">
<span style="font-size:12px; color:#FFFFFF;font-weight: bold;">管理<%=Return_Title() %></span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Pages" Runat="Server">
    <asp:Label ID="lbl_CmdTxt" runat="server" Visible="false"></asp:Label>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SellOrder_ConnectionString %>" DeleteCommand="DELETE FROM [Company] WHERE [id] = @id" SelectCommand="SELECT [id], [CompanyName], [Linkman], [Username], [AddTime] FROM [Company] WHERE ([CompanyType] = @CompanyType) ORDER BY [id] DESC" >
        <DeleteParameters>
            <asp:Parameter Name="id" Type="Int32" />
        </DeleteParameters>
        <SelectParameters>
            <asp:ControlParameter ControlID="lbl_CmdTxt" Name="CompanyType" PropertyName="Text"
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="id" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Width="98%" EmptyDataText="暂无数据!">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="CompanyName" HeaderText="公司名称" />
                <asp:BoundField DataField="Linkman" HeaderText="联系人" />
                <asp:BoundField DataField="username" HeaderText="操作用户" />
                <asp:BoundField DataField="AddTime" HeaderText="最后修改日期" />
                <asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="Edit_UserInfo.aspx?Id={0}"
                    HeaderText="修 改" NavigateUrl="Edit_UserInfo.aspx" Text="修 改" />
              <asp:CommandField HeaderText="删  除" ShowDeleteButton="True" DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗?')&quot;&gt;删  除&lt;/div&gt;" >
                  <ItemStyle Height="30px" HorizontalAlign="Center" VerticalAlign="Middle" Width="80px" />
              </asp:CommandField>
            </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" Height="30px" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
</asp:Content>

⌨️ 快捷键说明

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