<%@ page language="C#" autoeventwireup="true" inherits="AddFriLink, LebiMall" %>

<!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>
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/shopcss.css" type="text/css" rel=Stylesheet />
    <link href="images/css/css3.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="mode_body" style="font-size:12px;">
        <div class="mode_List" id="divgonggao">
        <div class="mode_td">
            <div class="mode_left">会员登录名：</div><div class="mode_right"><asp:TextBox runat="server" ID="txtName" CssClass="rstext" ValidationGroup="tt"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtName" ValidationGroup="tt"></asp:RequiredFieldValidator></div>
        </div>
         <div class="mode_man" style="clear:left;">
            <asp:Button runat="server" ID="btnAdd" CssClass="btn_submit" Text="添加" OnClick="btnAdd_Click" ValidationGroup="tt" />
            <input type="button" value="取消" class="btn_cancel"  onclick="new parent.dialog().reset();" />
        </div> 
         <div class="mode_td">
           <div style="font-weight:bold; padding-top:20px;">连接管理：</div>
           <asp:Repeater runat="server" ID="rpLink" OnItemCommand="rpLink_ItemCommand">
           <ItemTemplate>
            <div style="clear:left;">
            <div style="float:left;"><%#Eval("sname") %></div>
            <div style="float:left;">
             &nbsp;&nbsp;
            <asp:LinkButton runat="server" ID="lbtnDel" CommandName="Del" CommandArgument='<%#Eval("Id") %>' Text="删除"></asp:LinkButton>
            </div>
            </div>
           </ItemTemplate>
           </asp:Repeater>
        </div>
        </div>
     </div> 
    </form>
</body>
</html>
