CustomLinkmanInfo.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:7k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="CustomLinkmanInfo.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Linkman.CustomLinkman" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>自定义联系人</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
  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" topmargin="0" leftmargin="0">
  13. <form id="CustomLinkman" method="post" runat="server">
  14. <TABLE borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  15. <TR height="30">
  16. <TD class="GbText" width="24" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"><FONT color="#003366" size="3"><IMG height="16" src="../../DataImages/myLinkman.gif" width="16"></FONT></TD>
  17. <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6" width="80" align="right"><font color="#006699">联系人资料</font></TD>
  18. <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6" align="right"><FONT face="宋体">&nbsp;
  19. </FONT>&nbsp;</TD>
  20. </TR>
  21. </TABLE>
  22. <TABLE id="tbl_Custom" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%" align="center" border="1" runat="server" class="gbtext">
  23. <TR>
  24. <TD style="WIDTH: 90px; HEIGHT: 35px" height="35" bgcolor="#e8f4ff">&nbsp;姓名</TD>
  25. <TD height="35" style="WIDTH: 154px; HEIGHT: 35px"><FONT face="宋体">&nbsp;</FONT>
  26. <asp:textbox id="tbx_Name" runat="server" CssClass="inputcss"></asp:textbox>
  27. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空" ControlToValidate="tbx_Name" Display="Dynamic"></asp:RequiredFieldValidator></TD>
  28. <TD style="WIDTH: 90px; HEIGHT: 35px" height="35" bgcolor="#e8f4ff">&nbsp;性别</TD>
  29. <TD height="35" style="WIDTH: 151px; HEIGHT: 35px"><FONT face="宋体">&nbsp;</FONT><SELECT id="ddl_Gender" name="Select1" runat="server">
  30. <OPTION value="1" selected>男</OPTION>
  31. <OPTION value="0">女</OPTION>
  32. </SELECT></TD>
  33. <TD style="WIDTH: 90px; HEIGHT: 35px" height="35" bgcolor="#e8f4ff">&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  34. 龄</TD>
  35. <TD height="35" style="HEIGHT: 35px"><FONT face="宋体">&nbsp;</FONT>
  36. <asp:textbox id="tbx_Age" runat="server" CssClass="inputcss" Width="36px"></asp:textbox><FONT face="宋体">&nbsp;
  37. <asp:RangeValidator id="RangeValidator1" runat="server" Display="Dynamic" ControlToValidate="tbx_Age" ErrorMessage="年龄错误" MinimumValue="1" MaximumValue="200" Type="Integer"></asp:RangeValidator></FONT></TD>
  38. </TR>
  39. <TR>
  40. <TD height="24" bgcolor="#e8f4ff">&nbsp;单位地址</TD>
  41. <TD height="24" style="WIDTH: 154px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_UnitAddress" runat="server" CssClass="inputcss"></asp:textbox></TD>
  42. <TD height="24" bgcolor="#e8f4ff">&nbsp;单位电话</TD>
  43. <TD height="24" style="WIDTH: 151px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_UnitTelephone" runat="server" CssClass="inputcss"></asp:textbox>
  44. <asp:RegularExpressionValidator id="RegularExpressionValidator3" runat="server" ErrorMessage="输入数字" ControlToValidate="tbx_UnitTelephone" ValidationExpression="d*" Display="Dynamic"></asp:RegularExpressionValidator></TD>
  45. <TD height="24" bgcolor="#e8f4ff">&nbsp;单位邮编</TD>
  46. <TD height="24"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_UnitZip" runat="server" CssClass="inputcss" Width="69px"></asp:textbox>
  47. <asp:RegularExpressionValidator id="RegularExpressionValidator5" runat="server" ErrorMessage="邮编错误" ControlToValidate="tbx_UnitZip" ValidationExpression="d{6}" Display="Dynamic"></asp:RegularExpressionValidator></TD>
  48. </TR>
  49. <TR>
  50. <TD height="24" bgcolor="#e8f4ff">&nbsp;家庭地址</TD>
  51. <TD height="24" style="WIDTH: 154px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_FamilyAddress" runat="server" CssClass="inputcss"></asp:textbox></TD>
  52. <TD height="24" bgcolor="#e8f4ff">&nbsp;家庭电话</TD>
  53. <TD height="24" style="WIDTH: 151px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_FamilyTelephone" runat="server" CssClass="inputcss"></asp:textbox>
  54. <asp:RegularExpressionValidator id="RegularExpressionValidator4" runat="server" ErrorMessage="输入数字" ControlToValidate="tbx_FamilyTelephone" Display="Dynamic" ValidationExpression="d*"></asp:RegularExpressionValidator></TD>
  55. <TD height="24" bgcolor="#e8f4ff">&nbsp;家庭邮编</TD>
  56. <TD height="24"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_FamilyZip" runat="server" CssClass="inputcss" Width="72px"></asp:textbox>
  57. <asp:RegularExpressionValidator id="RegularExpressionValidator6" runat="server" ErrorMessage="邮编错误" ControlToValidate="tbx_FamilyZip" ValidationExpression="d{6}" Display="Dynamic"></asp:RegularExpressionValidator></TD>
  58. </TR>
  59. <TR>
  60. <TD height="24" bgcolor="#e8f4ff">&nbsp;手机</TD>
  61. <TD height="24" style="WIDTH: 154px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_Mobile" runat="server" CssClass="inputcss"></asp:textbox>
  62. <asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="输入数字" ControlToValidate="tbx_Mobile" ValidationExpression="d*" Display="Dynamic"></asp:RegularExpressionValidator></TD>
  63. <TD height="24" bgcolor="#e8f4ff">&nbsp;E-Mail</TD>
  64. <TD height="24" style="WIDTH: 151px"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_Email" runat="server" CssClass="inputcss"></asp:textbox>
  65. <asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ErrorMessage="格式错误" ControlToValidate="tbx_Email" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*" Display="Dynamic"></asp:RegularExpressionValidator></TD>
  66. <TD height="24"></TD>
  67. <TD height="24"></TD>
  68. </TR>
  69. <TR>
  70. <TD style="WIDTH: 73px" height="24" bgcolor="#e8f4ff">&nbsp;类别</TD>
  71. <TD colSpan="5" height="24"><asp:datalist id="dlt_Type" runat="server" RepeatDirection="Horizontal" RepeatColumns="10" HorizontalAlign="Left" Font-Size="X-Small">
  72. <ItemTemplate>
  73. <asp:CheckBox Runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Type") %>' EnableViewState=True ID="Checkbox1">
  74. </asp:CheckBox>
  75. </ItemTemplate>
  76. </asp:datalist></TD>
  77. </TR>
  78. <TR>
  79. <TD style="WIDTH: 73px" vAlign="top" align="left" height="24" bgcolor="#e8f4ff">&nbsp;备注</TD>
  80. <TD vAlign="top" colSpan="5" height="24"><FONT face="宋体">&nbsp;</FONT><asp:textbox id="tbx_Memo" runat="server" Width="581px" Height="95px" TextMode="MultiLine"></asp:textbox></TD>
  81. </TR>
  82. <TR>
  83. <TD align="middle" colSpan="6" height="40"><asp:button id="btn_OK" runat="server" Text=" 确 认 " CssClass="buttoncss"></asp:button></TD>
  84. </TR>
  85. </TABLE>
  86. <DIV align="center" ms_positioning="FlowLayout"><a href="javascript:close();">关闭窗口</a></DIV>
  87. </form>
  88. </body>
  89. </HTML>