<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true"
    ValidateRequest="false" CodeBehind="PayList.aspx.cs" Inherits="ETongJin.YM.Web.Admin.PayList"
     %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tableBorder" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <th colspan="6">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td style="color: #990000;">
                            支付方式列表：
                        </td>
                    </tr>
                </table>
            </th>
        </tr>
        <tr>
            <td width="30" class="td2">
                选择
            </td>
            <td class="td2">
                支付方式名称
            </td>
            <td class="td2" width="75">
                商户号
            </td>
            <td  class="td2">
                接口类型
            </td>
            <td class="td2" width="80">
                显示顺序
            </td>
            <td width="80" class="td2">
                常规操作
            </td>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server" 
            onitemdatabound="Repeater1_ItemDataBound">
            <ItemTemplate>
                <tr bgcolor="#FFFFFF" onmouseover="javascript:this.bgColor='#E3E1D7'" onmouseout="javascript:this.bgColor='#FFFFFF'"
                    style="text-align: center; height: 27">
                    <td>
                        <input name='id' type='checkbox' value='<%#Eval("modeid") %>' style="border: none" />
                    </td>
                    <td class="lefttd">
                        <%#Eval("name")%>
                    </td>
                    <td>
                        <%#Eval("merchantCode") %>
                    </td>
                    <td>
                        <asp:Label ID="lblGatawayType" runat="server" Text='<%# Eval("Gateway") %>'></asp:Label>
                    </td>
                    <td>
                       <%#Eval("DisplaySequence")%>
                    </td>
                    <td>
                        <a  href='payAdd.aspx?<%#Eval("modeid")%>'>编辑</a>
                        <asp:LinkButton ID="btnDel" runat="server" OnClick="btnDel_Click" CommandArgument='<%# Eval("modeid")%>'
                            OnClientClick="return confirm('删除后无法恢复，您是否确定删除？');">删除</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        <tr>
            <td colspan="6" class="td2" style="text-align: left; height: 30px;">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="180">
                            <input name='chkAll' type='checkbox' id='Checkbox1' onclick='CheckAll(this)' value='checkbox'
                                style="border: none" />选中本页显示的所记录
                        </td>
                        <td>
                            &nbsp; &nbsp; &nbsp;
                            <asp:Button ID="Button5" runat="server" Text="删除选中" OnClick="ButtonClick" CommandArgument="2"
                                OnClientClick="return confirm('删除后无法恢复，您是否确定删除？');" />
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <th colspan="6" style="text-align: center;">
                <div class="ym12_mian_y">
                </div>
            </th>
        </tr>
    </table>
</asp:Content>
