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

<!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>
    <link href="../Images/Admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="height:18px">
        位置：用户管理 &gt; 用户资料结构
        </div>
        <div style="height:5px"></div>
        <div class="div_yy" style="height:26px">
        <input type="button" value="增加结构" onclick="location.href='YongHuZiLiaoJieGou_ZengJia.aspx'" />
        </div>
        <div style="height:5px"></div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                                用户资料结构
                            </td>
                        </tr>
                        <tr>
                            <td>
                    <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                        CellSpacing="1" CssClass="tab3" GridLines="None" OnSorting="GridView1_Sorting"
                        Width="100%">
                        <Columns>
                            <asp:BoundField DataField="ID" DataFormatString="{0}" HeaderText="ID" SortExpression="ID">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="数据名称" DataFormatString="{0}" HeaderText="数据名称">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="数据类型">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                    <%# Convert.ToInt32(Eval("数据类型"))==0?"文字":Convert.ToInt32(Eval("数据类型"))==1?"数字":"指定值" %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="备注" DataFormatString="{0}" HeaderText="备注">
                                <HeaderStyle Width="20%" />
                                <ItemStyle Width="20%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="是否注册项">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                    <%# Convert.ToBoolean(Eval("是否注册项"))?"√":"×" %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="是否修改资料项">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                    <%# Convert.ToBoolean(Eval("是否修改资料项"))?"√":"×" %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="是否允许重复">
                                <ItemTemplate>
                                    <%# Convert.ToBoolean(Eval("是否允许重复"))?"允许":"不允许" %>
                                </ItemTemplate>
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="修改">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                    <a href="YongHuZiLiaoJieGou_XiuGai.aspx?ID=<%# Eval("ID") %>">修改</a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="删除">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                    <a href="YongHuZiLiaoJieGou_ShanChu.aspx?ID=<%# Eval("ID") %>" onclick="if(!confirm('真的要删除吗？')){return false;}">删除</a>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle CssClass="tab3_bt" />
                    </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <asp:HiddenField ID="PaiXuZiDuan" runat="server" Value="ID" />
        <asp:HiddenField ID="PaiXuFangXiang" runat="server" Value="true" />
        </div>
    </form>
    <div style="height:5px"></div>
        <form method="get" action="YongHuZiLiaoJieGou.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel></form>
</body>
</html>
