<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Base_fdqq, App_Web_ktzrxbyd" title="无标题页" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<%@ Register Src="~/Admin/Controls/CurrImage_Panel.ascx" TagName="CurrImage" TagPrefix="html" %>
<%@ Register TagName="FenYe" TagPrefix="Uc1" Src="~/ascx/fenYe.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  <link rel="stylesheet" type="text/css" href="../../css/fenye.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
    </div>
    <div class="clear"> </div>
    <html:CurrTool ID="CurrTool1" Title="管理浮动QQ" Version="120402" runat="server"/>
    <html:CurrImage ID="CurrImage1" Title="浮动QQ管理" Tips="在这里修改您可以设定前台浮动QQ的号以及显示的名称。" runat="server" />
    <div class="hr"> </div>
  </div>
  <div class="divContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>--%>
        <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" CssClass="content-table"
                    CellPadding="0" GridLines="None" Width="100%"  OnDeleteCommand="DataGrid1_DeleteCommand"
                    OnEditCommand="EditData" OnUpdateCommand="UpdateData" OnCancelCommand="CancelEdit"
                    OnItemDataBound="itemDb">
          <SelectedItemStyle CssClass="linkDown" />
          <HeaderStyle CssClass="tableTitle" />
          <ItemStyle CssClass="BotDas" />
          <Columns>
          <asp:TemplateColumn HeaderText=" " HeaderStyle-Width="10px">
            <ItemTemplate> &nbsp; </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="号码">
            <ItemTemplate>
              <asp:Literal runat="server" ID="LitqqNo" Text='<%#DataBinder.Eval(Container.DataItem,"qqNo") %>'></asp:Literal>
              <asp:TextBox runat="server" ID="txtqqNo" Visible="false"></asp:TextBox>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="显示名称">
            <ItemTemplate>
              <asp:Literal runat="server" ID="Litqqname" Text='<%#DataBinder.Eval(Container.DataItem,"qqname") %>'></asp:Literal>
              <asp:TextBox runat="server" ID="txtqqname" Visible="false"></asp:TextBox>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="类型">
            <ItemTemplate>
              <asp:Literal runat="server" ID="Litstype" Text='<%#DataBinder.Eval(Container.DataItem,"stype") %>'></asp:Literal>
              <asp:DropDownList runat="server" ID="dropstype" Visible="false">
                <asp:ListItem Value="0">QQ</asp:ListItem>
                <asp:ListItem Value="1">stype</asp:ListItem>
                <asp:ListItem Value="2">Msn</asp:ListItem>
              </asp:DropDownList>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="变量" Visible="false">
            <ItemTemplate>
              <asp:Literal runat="server" Visible="false" ID="Uid" Text='<%#DataBinder.Eval(Container.DataItem,"Uid") %>'></asp:Literal>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:EditCommandColumn HeaderText="编辑" ItemStyle-Wrap="False" EditText="编辑" UpdateText="更新" CancelText="取消" />
          <asp:TemplateColumn HeaderText=" " ItemStyle-Width="2px">
            <ItemTemplate> &nbsp; </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="删除">
            <ItemTemplate>
              <asp:LinkButton runat="server" Text="删除" CausesValidation="False" CommandName="Delete" ID="btnDelete"></asp:LinkButton>
            </ItemTemplate>
          </asp:TemplateColumn>
          </Columns>
        </asp:DataGrid>
        <div class="divth">
            <asp:Button ID="BtnInsert" Text="新 增" runat="server" CssClass="button" OnClick="BtnInsert_Click" />
        </div>
      <%--</ContentTemplate>
    </asp:UpdatePanel>--%>
  </div>
</asp:Content>
