index.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:14k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="index.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Linkman.Search.index" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>index</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body MS_POSITIONING="GridLayout" leftmargin="0" topmargin="0">
  13. <form id="Form1" method="post" runat="server">
  14. <TABLE borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" border="0">
  15. <TR height="30">
  16. <TD class="GbText" width="20" background="../../../Images/treetopbg.jpg" bgColor="#c0d9e6"
  17. align="right"><FONT color="#003366" size="3"><IMG height="16" src="../../../DataImages/myLinkman.gif" width="16"></FONT></TD>
  18. <TD class="GbText" background="../../../Images/treetopbg.jpg" bgColor="#e8f4ff" width="75"
  19. align="right" style="WIDTH: 75px">联系人管理</TD>
  20. <TD class="GbText" background="../../../Images/treetopbg.jpg" bgColor="#e8f4ff" align="right">&nbsp;</TD>
  21. </TR>
  22. </TABLE>
  23. <FONT face="宋体">
  24. <TABLE id="Table1" borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%" border="0"
  25. style="BORDER-COLLAPSE: collapse" class="GbText">
  26. <TR>
  27. <TD style="WIDTH: 100px" colSpan="2" align="center" height="36">联系人查询</TD>
  28. <TD height="36">请选择联系人类型
  29. <asp:DropDownList id="ddl_SearchType" runat="server" AutoPostBack="True">
  30. <asp:ListItem Value="staff">员工联系人</asp:ListItem>
  31. <asp:ListItem Value="linkman">客户联系人</asp:ListItem>
  32. <asp:ListItem Value="custom">自定义联系人</asp:ListItem>
  33. </asp:DropDownList></TD>
  34. </TR>
  35. <TR>
  36. <TD colSpan="3">
  37. <TABLE id="tbl_StaffSearch" borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%"
  38. border="1" style="BORDER-COLLAPSE: collapse" class="GbText" runat="server">
  39. <TR>
  40. <TD align="center" height="24">姓名</TD>
  41. <TD height="24">
  42. <asp:TextBox id="tbx_StaffName" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  43. <TD align="center" height="24">手机</TD>
  44. <TD height="24">
  45. <asp:TextBox id="tbx_StaffMobile" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  46. </TR>
  47. <TR>
  48. <TD align="center" height="24">性别</TD>
  49. <TD height="24">
  50. <asp:DropDownList id="ddl_StaffGender" runat="server" Width="130px">
  51. <asp:ListItem Value="0">无限制</asp:ListItem>
  52. <asp:ListItem Value="male">男</asp:ListItem>
  53. <asp:ListItem Value="female">女</asp:ListItem>
  54. </asp:DropDownList></TD>
  55. <TD align="center" height="24">Email</TD>
  56. <TD height="24">
  57. <asp:TextBox id="tbx_StaffEmail" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  58. </TR>
  59. <TR>
  60. <TD align="center" height="24">职位</TD>
  61. <TD height="24">
  62. <asp:DropDownList id="ddl_StaffPosition" runat="server" Width="130px"></asp:DropDownList></TD>
  63. <TD height="24">&nbsp;</TD>
  64. <TD height="24">&nbsp;</TD>
  65. </TR>
  66. </TABLE>
  67. <TABLE id="tbl_LinkmanSearch" borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%"
  68. border="1" style="BORDER-COLLAPSE: collapse" class="GbText" runat="server">
  69. <TR>
  70. <TD align="center" height="24">姓名</TD>
  71. <TD height="24">
  72. <asp:TextBox id="tbx_LinkmanName" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  73. <TD align="center" height="24">性别</TD>
  74. <TD height="24">
  75. <asp:DropDownList id="ddl_LinkmanGender" runat="server" Width="130px">
  76. <asp:ListItem Value="0">无限制</asp:ListItem>
  77. <asp:ListItem Value="male">男</asp:ListItem>
  78. <asp:ListItem Value="female">女</asp:ListItem>
  79. </asp:DropDownList></TD>
  80. </TR>
  81. <TR>
  82. <TD align="center" height="24">电话</TD>
  83. <TD height="24">
  84. <asp:TextBox id="tbx_Telephone" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  85. <TD align="center" height="24">Email</TD>
  86. <TD height="24">
  87. <asp:TextBox id="tbx_LinkmanEmail" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  88. </TR>
  89. <TR>
  90. <TD align="center" height="24">单位</TD>
  91. <TD height="24">
  92. <asp:TextBox id="tbx_LinkmanUnit" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  93. <TD align="center" height="24">职务</TD>
  94. <TD height="24">
  95. <asp:TextBox id="tbx_LinkmanPosition" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  96. </TR>
  97. <TR>
  98. <TD align="center" height="24">手机</TD>
  99. <TD height="24">
  100. <asp:TextBox id="tbx_LinkmanMobile" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  101. <TD height="24">&nbsp;</TD>
  102. <TD height="24">&nbsp;</TD>
  103. </TR>
  104. </TABLE>
  105. <TABLE id="tbl_CutomSearch" borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%"
  106. border="1" style="BORDER-COLLAPSE: collapse" class="GbText" runat="server">
  107. <TR>
  108. <TD align="center" height="24">姓名</TD>
  109. <TD height="24">
  110. <asp:TextBox id="tbx_CutomName" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  111. <TD align="center" height="24">性别</TD>
  112. <TD height="24">
  113. <asp:DropDownList id="ddl_CustomGender" runat="server" Width="130px">
  114. <asp:ListItem Value="0">无限制</asp:ListItem>
  115. <asp:ListItem Value="male">男</asp:ListItem>
  116. <asp:ListItem Value="female">女</asp:ListItem>
  117. </asp:DropDownList></TD>
  118. </TR>
  119. <TR>
  120. <TD align="center" height="24">手机</TD>
  121. <TD height="24">
  122. <asp:TextBox id="tbx_CutomMobile" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  123. <TD align="center" height="24">Email</TD>
  124. <TD height="24">
  125. <asp:TextBox id="tbx_CutomEmail" runat="server" CssClass="inputcss"></asp:TextBox></TD>
  126. </TR>
  127. <TR>
  128. <TD align="center" height="24">类别</TD>
  129. <TD height="24">
  130. <asp:DropDownList id="ddl_CustomCatalog" runat="server" Width="130px"></asp:DropDownList></TD>
  131. <TD height="24">&nbsp;</TD>
  132. <TD height="24">&nbsp;</TD>
  133. </TR>
  134. </TABLE>
  135. </TD>
  136. </TR>
  137. <TR>
  138. <TD align="center" colSpan="3" height="30">
  139. <asp:Button id="btn_OK" runat="server" Text=" 查  询 " CssClass="buttoncss" Width="80px"></asp:Button></TD>
  140. </TR>
  141. </TABLE>
  142. <TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
  143. <TR>
  144. <TD colSpan="2">
  145. <asp:DataGrid id="dgrd_Staff" runat="server" Width="100%" AutoGenerateColumns="False" Visible="False">
  146. <AlternatingItemStyle BackColor="#E8F4FF"></AlternatingItemStyle>
  147. <ItemStyle Font-Size="X-Small"></ItemStyle>
  148. <HeaderStyle Font-Size="X-Small" ForeColor="White" BackColor="#337FB2"></HeaderStyle>
  149. <Columns>
  150. <asp:TemplateColumn>
  151. <HeaderStyle Width="20px"></HeaderStyle>
  152. <ItemTemplate>
  153. <asp:CheckBox name="cbx_" Runat="server" ID="Checkbox1"></asp:CheckBox>
  154. </ItemTemplate>
  155. </asp:TemplateColumn>
  156. <asp:TemplateColumn HeaderText="真实姓名">
  157. <ItemTemplate>
  158. <asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.realname") %>' NavigateUrl='<%# "../../UnitiveDocument/Mail/Compose.aspx?Action=3&ClassID=0&Username="+ DataBinder.Eval(Container.DataItem,"staff_Name")+"&Name="+DataBinder.Eval(Container,"DataItem.RealName") %>' Target=_blank ID="Hyperlink1">
  159. </asp:HyperLink>
  160. </ItemTemplate>
  161. </asp:TemplateColumn>
  162. <asp:TemplateColumn HeaderText="手机">
  163. <ItemTemplate>
  164. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.mobile") %>' ID="Label1">
  165. </asp:Label>
  166. </ItemTemplate>
  167. </asp:TemplateColumn>
  168. <asp:BoundColumn DataField="Age" HeaderText="年龄"></asp:BoundColumn>
  169. <asp:BoundColumn DataField="SexName" HeaderText="性别"></asp:BoundColumn>
  170. <asp:BoundColumn DataField="Email" HeaderText="Email"></asp:BoundColumn>
  171. <asp:BoundColumn DataField="Position_Name" HeaderText="所属职位"></asp:BoundColumn>
  172. <asp:BoundColumn DataField="RQ" HeaderText="注册日期"></asp:BoundColumn>
  173. <asp:HyperLinkColumn Text="详细" Target="_blank" DataNavigateUrlField="staff_id" DataNavigateUrlFormatString="../StaffInfo.aspx?Staff_ID={0}">
  174. <HeaderStyle Width="10px"></HeaderStyle>
  175. </asp:HyperLinkColumn>
  176. </Columns>
  177. <PagerStyle HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
  178. </asp:DataGrid>
  179. <asp:DataGrid id="dgrd_Linkman" runat="server" Width="100%" AutoGenerateColumns="False" Visible="False">
  180. <AlternatingItemStyle BackColor="#E8F4FF"></AlternatingItemStyle>
  181. <ItemStyle Font-Size="X-Small"></ItemStyle>
  182. <HeaderStyle Font-Size="X-Small" ForeColor="#FFFFFF" BackColor="#337FB2"></HeaderStyle>
  183. <Columns>
  184. <asp:TemplateColumn>
  185. <HeaderStyle Width="20px"></HeaderStyle>
  186. <ItemTemplate>
  187. <asp:CheckBox name="cbx_" Runat="server" ID="Checkbox3"></asp:CheckBox>
  188. </ItemTemplate>
  189. </asp:TemplateColumn>
  190. <asp:TemplateColumn HeaderText="姓名">
  191. <ItemTemplate>
  192. <asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>' NavigateUrl='<%# "../../CM/Linkman.aspx?LinkmanID="+DataBinder.Eval(Container,"DataItem.ID")+"&from=mylinkman"%>' Target=_blank ID="Hyperlink2">
  193. </asp:HyperLink>
  194. </ItemTemplate>
  195. </asp:TemplateColumn>
  196. <asp:TemplateColumn HeaderText="手机">
  197. <ItemTemplate>
  198. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.mobile") %>' ID="Label2">
  199. </asp:Label>
  200. </ItemTemplate>
  201. <EditItemTemplate>
  202. <asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.mobile") %>' ID="Textbox2">
  203. </asp:TextBox>
  204. </EditItemTemplate>
  205. </asp:TemplateColumn>
  206. <asp:BoundColumn DataField="telephone" HeaderText="电话"></asp:BoundColumn>
  207. <asp:BoundColumn DataField="email" HeaderText="Email"></asp:BoundColumn>
  208. <asp:BoundColumn DataField="unitname" HeaderText="单位"></asp:BoundColumn>
  209. <asp:BoundColumn DataField="position" HeaderText="职务"></asp:BoundColumn>
  210. <asp:BoundColumn DataField="address" HeaderText="家庭地址"></asp:BoundColumn>
  211. <asp:HyperLinkColumn Text="详细" Target="_blank" DataNavigateUrlField="ID" DataNavigateUrlFormatString="../CM/Linkman.aspx?LinkmanID={0}&amp;from=mylinkman">
  212. <HeaderStyle Width="10px"></HeaderStyle>
  213. </asp:HyperLinkColumn>
  214. </Columns>
  215. <PagerStyle HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  216. </asp:DataGrid>
  217. <asp:DataGrid id="dgrd_Custom" runat="server" Width="100%" AutoGenerateColumns="False" Visible="False">
  218. <AlternatingItemStyle BackColor="#E8F4FF"></AlternatingItemStyle>
  219. <ItemStyle Font-Size="X-Small"></ItemStyle>
  220. <HeaderStyle Font-Size="X-Small" ForeColor="#FFFFFF" BackColor="#337FB2"></HeaderStyle>
  221. <Columns>
  222. <asp:TemplateColumn>
  223. <HeaderStyle Width="20px"></HeaderStyle>
  224. <ItemTemplate>
  225. <asp:CheckBox name="cbx_" Runat="server" ID="Checkbox2"></asp:CheckBox>
  226. </ItemTemplate>
  227. </asp:TemplateColumn>
  228. <asp:TemplateColumn HeaderText="姓名">
  229. <ItemTemplate>
  230. <asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>' NavigateUrl='<%# "CustomLinkmanInfo.aspx?ID="+DataBinder.Eval(Container,"DataItem.ID") %>' Target=_blank ID="Hyperlink3">
  231. </asp:HyperLink>
  232. </ItemTemplate>
  233. </asp:TemplateColumn>
  234. <asp:BoundColumn DataField="sexname" HeaderText="性别"></asp:BoundColumn>
  235. <asp:TemplateColumn HeaderText="手机">
  236. <ItemTemplate>
  237. <asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.mobile") %>' ID="Label3">
  238. </asp:Label>
  239. </ItemTemplate>
  240. <EditItemTemplate>
  241. <asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.mobile") %>' ID="Textbox1">
  242. </asp:TextBox>
  243. </EditItemTemplate>
  244. </asp:TemplateColumn>
  245. <asp:BoundColumn DataField="email" HeaderText="Email"></asp:BoundColumn>
  246. <asp:BoundColumn DataField="unitaddress" HeaderText="单位地址"></asp:BoundColumn>
  247. <asp:BoundColumn DataField="unittelephone" HeaderText="单位电话"></asp:BoundColumn>
  248. <asp:HyperLinkColumn Text="详细" Target="_blank" DataNavigateUrlField="ID" DataNavigateUrlFormatString="CustomLinkmanInfo.aspx?ID={0}">
  249. <HeaderStyle Width="10px"></HeaderStyle>
  250. </asp:HyperLinkColumn>
  251. </Columns>
  252. <PagerStyle HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  253. </asp:DataGrid></TD>
  254. </TR>
  255. </TABLE>
  256. </FONT>
  257. </form>
  258. </body>
  259. </HTML>