<%@ Page Language="C#" AutoEventWireup="true" CodeFile="YongHuXinXi_list.aspx.cs" Inherits="YongHuXinXi_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--
'' ============================================================================================
'' 项目名称：风越项目范例ASPX单层框架
'' 项目版本：V1.0
'' 项目描述：
'' 文件名称：YongHuXinXi_list.aspx
'' 文件描述：信息列表文件 （用户信息）
'' 公司名称：中极网盛
'' 开发人员：刘怒
'' 创建日期：2008-8-7 21:34:32
'' 修订日期：2009-03-10 05:59:56
'' 版权信息：Copyright (C) 2008

'' 项目升级时需读取以下生成工具的版权信息
'' 生成工具：风越代码生成器 [FireCode Creator]
'' 当前版本：通用版 V1.8
'' 官方网站：http://www.sino8848.com
'' ============================================================================================
-->

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>信息列表</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="js/js_page.js"></script>
    <script language="javascript" type="text/javascript" src="js/js_string.js"></script>
    <script language="javascript" type="text/javascript" src="js/js_regex.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" CssClass="tableStyleSolidLine" Width="98%" PageSize="20"
        AutoGenerateColumns="False" AllowPaging="True" CellPadding="4" ShowFooter="True"
        DataKeyNames="USER_ID,USER_NAME"
        OnPageIndexChanging="GridView1_PageIndexChanging"
        OnRowDataBound="GridView1_RowDataBound"



    
    
        OnRowDeleting="GridView1_RowDeleting"
    

        >
            <HeaderStyle CssClass="tableTitle1" Wrap="False" HorizontalAlign="Center"/>
            <RowStyle CssClass="tableContent001" Wrap="False" />
            <AlternatingRowStyle CssClass="tableContentAlternating001" Wrap="False" />
            <SelectedRowStyle Wrap="False" />
            <EditRowStyle Wrap="False" />
            <FooterStyle CssClass="tableTitle1" Wrap="False" HorizontalAlign="Center"/>
            <PagerStyle Wrap="False"/>
            <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="首页" LastPageText="尾页" NextPageText="下页" PageButtonCount="3" PreviousPageText="上页"/>
            <Columns>
                
                <asp:TemplateField HeaderText="编号" FooterText="编号" SortExpression="USER_ID">
                <ItemTemplate>
                <asp:Label ID="lab_USER_ID_Show" runat="server" Text='<%# Eval("USER_ID")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_ID_Show" runat="server" Text='<%# Eval("USER_ID")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="姓名" FooterText="姓名" SortExpression="USER_NAME">
                <ItemTemplate>
                <asp:Label ID="lab_USER_NAME_Show" runat="server" Text='<%# Eval("USER_NAME")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_NAME_Show" runat="server" Text='<%# Eval("USER_NAME")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="密码" FooterText="密码" SortExpression="USER_PWD">
                <ItemTemplate>
                <asp:Label ID="lab_USER_PWD_Show" runat="server" Text='<%# Eval("USER_PWD")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_PWD_Show" runat="server" Text='<%# Eval("USER_PWD")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="生日" FooterText="生日" SortExpression="USER_BIRTHDAY">
                <ItemTemplate>
                <asp:Label ID="lab_USER_BIRTHDAY_Show" runat="server" Text='<%# Eval("USER_BIRTHDAY")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_BIRTHDAY_Show" runat="server" Text='<%# Eval("USER_BIRTHDAY")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="公司" FooterText="公司" SortExpression="USER_COMPANY">
                <ItemTemplate>
                <asp:Label ID="lab_USER_COMPANY_Show" runat="server" Text='<%# Eval("USER_COMPANY")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_COMPANY_Show" runat="server" Text='<%# Eval("USER_COMPANY")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="部门" FooterText="部门" SortExpression="USER_DEPT">
                <ItemTemplate>
                <asp:Label ID="lab_USER_DEPT_Show" runat="server" Text='<%# Eval("USER_DEPT")%>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>
                

                
                <asp:Label ID="lab_USER_DEPT_Show" runat="server" Text='<%# Eval("USER_DEPT")%>'></asp:Label>
                
                </EditItemTemplate>

                </asp:TemplateField>
                



                <asp:TemplateField 
                HeaderText="<a href='YongHuXinXi_add.aspx' target='_blank'>新增</a>  " 
                FooterText="<a href='YongHuXinXi_add.aspx' target='_blank'>新增</a>  "
                >
                


                    <ItemTemplate>
                        <asp:HyperLink ID="LinkButton_View" NavigateUrl='<%# "YongHuXinXi_detail.aspx?USER_ID=" + this.Server.UrlEncode(Convert.ToString(Eval("USER_ID"))) + "&USER_NAME=" + this.Server.UrlEncode(Convert.ToString(Eval("USER_NAME")))%>' Target="_blank" runat="server">查看</asp:HyperLink>


                
                        <asp:HyperLink ID="LinkButton_Modify" NavigateUrl='<%# "YongHuXinXi_add.aspx?USER_ID=" + this.Server.UrlEncode(Convert.ToString(Eval("USER_ID"))) + "&USER_NAME=" + this.Server.UrlEncode(Convert.ToString(Eval("USER_NAME")))%>' Target="_blank" runat="server">修改</asp:HyperLink>

                    

                    
                        <asp:LinkButton ID="LinkButton_Del" runat="server" CausesValidation="False" CommandName="Delete" CommandArgument='<%#Eval("USER_ID") + "|||" + Eval("USER_NAME")%>'
                            Text="删除"></asp:LinkButton>
                    

                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>



    </div>
    </form>
</body>
</html>