www.pudn.com > flash-zhibo-yuanma.rar > company_user.aspx, change:2007-10-07,size:1977b


<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="company_user.aspx.cs" Inherits="admin_company_user" %> 
 
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1"> 
    <table> 
        <tr> 
            <td><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id" 
                    DataSourceID="SqlDataSource1"> 
                    <Columns> 
                        <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True" 
                            SortExpression="id" /> 
                        <asp:BoundField DataField="idname" HeaderText="idname" SortExpression="idname" /> 
                        <asp:BoundField DataField="username" HeaderText="username" SortExpression="username" /> 
                        <asp:CheckBoxField DataField="zhuangtai" HeaderText="zhuangtai" SortExpression="zhuangtai" /> 
                        <asp:BoundField DataField="Truemoney" HeaderText="Truemoney" SortExpression="Truemoney" /> 
                    </Columns> 
                </asp:GridView> 
            </td> 
            <td> 
                 
            </td> 
            <td> 
            </td> 
        </tr> 
        <tr> 
            <td> 
            </td> 
            <td> 
            </td> 
            <td> 
            </td> 
        </tr> 
        <tr> 
            <td> 
            </td> 
            <td> 
            </td> 
            <td> 
            </td> 
        </tr> 
    </table> 
      
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        SelectCommand="SELECT * FROM [Sp_user] WHERE ([ParentId] = @ParentId) ORDER BY [id] DESC"> 
        <SelectParameters> 
            <asp:Parameter DefaultValue="-1" Name="ParentId" Type="Int32" /> 
        </SelectParameters> 
    </asp:SqlDataSource> 
</asp:Content>