<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FingerCode.ascx.cs"
    Inherits="MTCUN.UserCol.FingerCode" %>
<%@ Import Namespace="MTCUN" %>

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
    OnRowDeleting="GridView1_RowDeleting" ShowHeader="False" CellPadding="0" CellSpacing="0" GridLines="None" Width="100%">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <div style="background-color: #ffffff; border: 1px solid #ECEB7F; border-radius: 5px; padding: 4px; background-color: #FEFDC1; margin-bottom: 3px">
                    <table cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td style="width: 60px">名称：</td>
                            <td>
                                <asp:TextBox ID="tbxRemark" runat="server" Enabled='<%# this.Enabled %>' Text='<%#Eval("Remark") %>'></asp:TextBox>
                            </td>
                            <td>
                                <label class="lab_button striking_btnc">
                                    <asp:Button ID="lbnDelete" runat="server" Text="删除" Enabled='<%# this.Enabled %>'
                                        CausesValidation="False" CommandName="Delete"></asp:Button>
                                </label>
                            </td>
                        </tr>
                        <tr>
                            <td>模板：</td>
                            <td class="fingerbox">
                                <asp:TextBox ID="tbxCode" runat="server" Enabled='<%# this.Enabled %>' onclick="this.select();"
                                    TextMode="MultiLine" Rows="4" Text='<%#Eval("Code") %>'></asp:TextBox></td>
                            <td></td>
                        </tr>
                    </table>

                </div>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<label class="lab_button btn_width striking_btnc">
    <asp:Button ID="btnAdd" runat="server" Enabled='<%# this.Enabled %>' CausesValidation="False"
        OnClick="btnAdd_Click" Text="增加指纹" />
</label>
<br />
<br />

