QueryUser.aspx
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:3k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="QueryUser.aspx.cs" Inherits="OThinker.H3.Portal.QueryUser" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>查询用户</title>
  6. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="css/style.CSS" type="text/css" rel="stylesheet">
  11. </head>
  12. <body leftmargin="0" topmargin="0">
  13.     <form id="form1" runat="server">
  14.     <div>
  15.     <table width="100%" class="ms-vb2" cellpadding="0" cellspacing="0">
  16. <tr>
  17. <td width="100%" height="29" background="images/Top_4.gif"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  18. <tr>
  19. <td width="2%"><img src="images/Top_5.gif" width="14" height="16"></td>
  20. <td class="bigfont">
  21.                                     查询用户</td>
  22. </tr>
  23. </table>
  24. </td>
  25. </tr>
  26. <tr>
  27.     <td>
  28.                         用户关键字:<asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
  29.                         <asp:LinkButton ID="lnkSearch" runat="server" OnClick="lnkSearch_Click">搜索</asp:LinkButton>
  30.                         <asp:Label ID="lblResult" runat="server" Text=""></asp:Label>
  31.                     </td>
  32. </tr>
  33. <tr>
  34. <td>
  35.                     <asp:GridView ID="UserGrid" runat="server" AutoGenerateColumns="False" OnRowDataBound="UserGrid_RowDataBound" Width="100%">
  36.                         <Columns>
  37.                             <asp:BoundField DataField="ObjectID" HeaderText="打开" />
  38.                             <asp:BoundField DataField="Alias" HeaderText="用户别名" />
  39.                             <asp:BoundField DataField="Name" HeaderText="用户名称" />
  40.                             <asp:BoundField DataField="Email" HeaderText="电子邮件" />
  41.                             <asp:BoundField DataField="Mobile" HeaderText="手机" />
  42.                             <asp:BoundField DataField="OfficePhone" HeaderText="办公电话" />
  43.                             <asp:BoundField DataField="Description" HeaderText="描述" />
  44.                         </Columns>
  45.                         <HeaderStyle BackColor="#8080FF" ForeColor="White" />
  46.                     </asp:GridView>
  47.                 </td>
  48. </tr>
  49. </table>
  50.     </div>
  51.     </form>
  52. </body>
  53. </html>