UserManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserManager.aspx.cs" Inherits="UserManager" %>
- <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head runat="server">
- <link href="../css/main.css" type="text/css" rel="stylesheet">
- </head>
- <script>
- function RtValue(rtstr)
- {
- window.returnValue=rtstr;
- window.close()
- }
-
- </script>
- <script language =javascript type="text/javascript">
- function OnTreeNodeChecked()
- {
- var Obj=event.srcElement;
- if(Obj.tagName == "A" || Obj.tagName== "a")
- {
- alert(Obj.id);//访问被点击结点的值,同样可以通过Obj.innerText设置它的值
- window.returnValue=Obj.id;
- window.close()
- return;
- }
- }
- </script>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <form runat="server" id="fm1">
- <table border="0" cellpadding="0" cellspacing="0" style="width: 441px; height: 221px;" >
- <tr>
- <td style="width: 11px" valign="top">
- <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
- border="0">
- <tr>
- <th colspan="3" style="height: 25px">
- 部门结构</th>
- </tr>
- <tr>
- <td class="usertablerow2" align="left" style="width: 153px; height: 279px;">
- <DIV style="OVERFLOW: auto; width:184px; HEIGHT: 270px; " id="MyOutDiv" align=left>
- <asp:TreeView ID="TreeView1" runat="server" Width="158px">
- <Nodes>
- <asp:TreeNode Text="技术公司" Value="技术公司">
- <asp:TreeNode Text="技术开发" Value="技术开发"></asp:TreeNode>
- <asp:TreeNode Text="技术保证" Value="技术保证"></asp:TreeNode>
- <asp:TreeNode Text="客户服务" Value="客户服务"></asp:TreeNode>
- </asp:TreeNode>
- <asp:TreeNode Text="运营公司1" Value="运营公司1"></asp:TreeNode>
- <asp:TreeNode Text="运输部1" Value="运输部1"></asp:TreeNode>
- <asp:TreeNode Text="后勤公司1" Value="后勤公司1"></asp:TreeNode>
- <asp:TreeNode Text="运营公司2" Value="""运营公司"2"2"></asp:TreeNode>
- <asp:TreeNode Text="运输部2" Value="运输部2"></asp:TreeNode>
-
- </Nodes>
- </asp:TreeView>
- </DIV>
- </td>
-
-
- </tr>
- </table>
-
- </td>
- <td style="width: 5px " valign="top">
-
- </td>
-
- <td style="width: 100%" valign="top">
- <DIV style="OVERFLOW: auto; width:232px; HEIGHT: 316px; " id="z" align=center>
- <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound" Width="87%">
- <Columns>
- <asp:BoundField DataField="UserId" HeaderText="用户名" DataFormatString="<a style=quot;cursor:pointer quot; onclick="winBack('{0}')">{0}</a>" HtmlEncode="False">
- <HeaderStyle Width="200px" />
- <ItemStyle HorizontalAlign="Center" />
- </asp:BoundField>
-
- </Columns>
- <RowStyle CssClass="usertablerow2" />
- <AlternatingRowStyle CssClass="usertablerow1" />
- </asp:GridView>
- </DIV>
- <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging" NumericButtonCount="5">
- </webdiyer:AspNetPager>
- </td>
- </tr>
- </table>
- <br>
- </form>
-
- </body>
- </html>