<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="KnowledgeClassManage_P, App_Web_tnkwl-px" stylesheettheme="Themes" theme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!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 id="Head1" runat="server">
    <link href="../css/layerDiv.css" rel="stylesheet" type="text/css" />

    <script src="../js/LayerDiv.js" type="text/javascript"></script>

    <title></title>
       <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
    <style type="text/css">
        a 
{
    color:#089ccd;
    text-decoration:none;
 }
a:hover 
{
	color:#5b5c5b;
	text-decoration:underline;
	cursor:pointer;
	}
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置： 我的知识库 > 个人知识类别</span>
            </td>
        </tr>
        <tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                    <tr>
                        <td align="right">
                            <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="margintop5">
                <asp:GridView ID="gridView" runat="server" AutoGenerateColumns="False" CellPadding="2" DataKeyNames="ID" EnableTheming="True" Width="100%" EmptyDataText="没有图片"
                    OnRowCancelingEdit="gridView_RowCancelingEdit" OnRowDataBound="gridView_RowDataBound"
                    OnRowDeleting="gridView_RowDeleting" OnRowEditing="gridView_RowEditing" OnRowUpdating="gridView_RowUpdating">
                    <EmptyDataRowStyle BackColor="#E0E0E0" />
                    <Columns>
                        <%--<asp:TemplateField>
          <HeaderTemplate>
                 全选<input id="chkSelAll" name="chkSelAll" onclick="javascript:CheckAll();" type="checkbox">
          </HeaderTemplate>
          <HeaderStyle Width="60" />
          <ItemStyle />
          <ItemTemplate>
               <asp:CheckBox ID="chkSel" runat="server" />
           </ItemTemplate>
       </asp:TemplateField>  --%>
                        <%--      <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" Visible="False">
        <ItemStyle HorizontalAlign="Center" />
        <HeaderStyle Width="50px" Wrap="False" />
      </asp:BoundField>--%>
                        <asp:TemplateField HeaderText="分类">
                            <ItemStyle HorizontalAlign="Left" />
                            <EditItemTemplate>
                                <asp:TextBox ID="txtTitle" runat="server" Text='<%# Bind("ClassName") %>' Width="240px"
                                    MaxLength="20"></asp:TextBox><br />
                            </EditItemTemplate>
                            <HeaderStyle Wrap="True" />
                            <ItemTemplate>
                                <asp:Label ID="txtTitle" runat="server" Text='<%# Bind("ClassName") %>' Width="240px"
                                    MaxLength="20"></asp:Label><br />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:CommandField ShowEditButton="True">
                            <HeaderStyle Width="100px" />
                        </asp:CommandField>
                        <asp:CommandField ShowDeleteButton="True">
                            <HeaderStyle Width="60px" />
                        </asp:CommandField>
                        <%--<asp:CommandField ShowEditButton="True" ShowDeleteButton="True" ControlStyle-CssClass="linkBtn"  HeaderText="操作">
        <HeaderStyle Width="100px" />
      </asp:CommandField>--%>
                    </Columns>
                    <EmptyDataRowStyle BackColor="#E0E0E0" />
                    <EmptyDataTemplate>
                        <div class="nodata">
                            <img src="../images/waring_pic01.gif" />
                            <asp:Label ID="lbltext" runat="server" Text="没有你要查询的数据！" HorizontalAlign="Center"
                                Height="30px"></asp:Label>
                        </div>
                    </EmptyDataTemplate>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <div id="LayerShow" runat="server" style="display: none; width: 360px;">
        <div id="m_onlineuser" class="b2">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            <div class="cnt f14">
                <div style="color: #666" align="center">
                    <table border="0" cellpadding="5" cellspacing="0" width="330">
                        <tr class="td_3">
                            <td bgcolor="#ffffff" height="25" align="right" class="style1">
                                分类名称：
                            </td>
                            <td bgcolor="#ffffff" height="25" align="left">
                                <asp:TextBox ID="txtClassName" runat="server" CssClass="input1" Width="150px" MaxLength="20"></asp:TextBox>&nbsp;<span
                                    style="color: Red;">*</span>
                            </td>
                        </tr>
                        <tr class="td_3">
                            <td bgcolor="#ffffff" height="25" align="right" class="style1">
                                &nbsp;
                            </td>
                            <td bgcolor="#ffffff" height="25" align="left">
                                <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" />
                                <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
    </div>
    <div id="LayerAll" runat="server">
    </div>
    </form>
</body>
</html>
