ORole.aspx
上传用户:xgw_05
上传日期:2009-12-11
资源大小:20208k
文件大小:6k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ORole.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Role.ORole" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>ORole</title>
  6. <meta content="Microsoft Visual Studio 7.0" 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/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. function ReturnBack()
  13. {
  14. location.href ="Listview.aspx?Role_ID=<%=RoleID%>&DisplayType=<%=DisplayType%>"
  15. }
  16. function PageChange(DisplayType)
  17. {
  18. location.href ="oRole.aspx?Role_ID=<%=RoleID%>&DisplayType=<%=DisplayType%>"
  19. }
  20. </script>
  21. </HEAD>
  22. <body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
  23. <TABLE class="gbtext" id="Table2" height="30" cellSpacing="0" cellPadding="0" width="100%"
  24. border="0">
  25. <TR>
  26. <TD style="WIDTH: 966px" background="../../Images/treetopbg.jpg" height="30">&nbsp;<FONT color="#006699">&nbsp;&nbsp;&nbsp; 
  27. 角色管理</FONT></TD>
  28. </TR>
  29. </TABLE>
  30. <form id="ORole" method="post" runat="server">
  31. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  32. <tr height="25">
  33. <td style="HEIGHT: 25px" width="1"></td>
  34. <TD id="bar1" style="BACKGROUND-POSITION: left top; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: no-repeat; HEIGHT: 25px"
  35. align="center" width="90" background="../../images/maillistbutton2.gif"><A 
  36.       href="oRole.aspx?Role_ID=<%=RoleID%>&amp;DisplayType=0" class=Newbutton>创建角色</A></TD>
  37. <td style="BACKGROUND-POSITION: left top; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: no-repeat; HEIGHT: 25px"
  38. id="bar1" align="center" width="90" background="../../images/maillistbutton2.gif"
  39. ><a href="oRole.aspx?Role_ID=<%=RoleID%>&amp;DisplayType=2" class=Newbutton>修改角色</a></td>
  40. <TD id="bar1" style="BACKGROUND-POSITION: left top; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: no-repeat; HEIGHT: 25px"
  41. align="center" width="90" background="../../images/maillistbutton2.gif"><A 
  42.       onclick=PageChange(1) 
  43.       href="oRole.aspx?Role_ID=<%=RoleID%>&amp;DisplayType=1" class=Newbutton>删除角色</A></TD>
  44. <TD>&nbsp;</TD>
  45. </tr>
  46. </table>
  47. <TABLE class="gbtext" id="tabModify" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  48. cellSpacing="0" cellPadding="0" width="100%" align="center" border="1" runat="server">
  49. <TR>
  50. <TD style="WIDTH: 91px"><FONT face="宋体">角色名称</FONT></TD>
  51. <TD><FONT face="宋体">&nbsp;</FONT>
  52. <asp:textbox id="txtMRoleName" Width="463px" EnableViewState="true" Columns="90" CssClass="inputsta"
  53. Runat="server"></asp:textbox>
  54. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtMRoleName" ErrorMessage="请输入角色名"></asp:RequiredFieldValidator></TD>
  55. </TR>
  56. <TR>
  57. <TD style="WIDTH: 91px"><FONT face="宋体">角色简介:</FONT></TD>
  58. <TD><FONT face="宋体">&nbsp;
  59. <asp:textbox id="txtMRoleDescription" Width="462px" Columns="90" Runat="server" cssclass="InputSta"
  60. Rows="5" TextMode="MultiLine"></asp:textbox></FONT></TD>
  61. </TR>
  62. <TR>
  63. <TD style="WIDTH: 91px"><FONT face="宋体"></FONT></TD>
  64. <TD><FONT face="宋体">&nbsp;&nbsp;<INPUT class="ButtonCss" id="cmdModify" type="submit" value="修改角色" name="cmdModify" runat="server">
  65. <INPUT class="ButtonCss" onclick="ReturnBack();" type="button" value="返回" name="cmdModifyBack"></FONT></TD>
  66. </TR>
  67. </TABLE>
  68. <TABLE class="gbtext" id="tabDelete" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  69. cellSpacing="0" cellPadding="0" width="100%" align="center" border="1" runat="server">
  70. <TR>
  71. <TD style="WIDTH: 96px"><FONT face="宋体">角色名称:</FONT></TD>
  72. <TD><FONT face="宋体">&nbsp;</FONT>
  73. <asp:label id="delRoleName" runat="server"></asp:label></TD>
  74. </TR>
  75. <TR>
  76. <TD style="WIDTH: 96px"><FONT face="宋体"></FONT></TD>
  77. <TD>&nbsp;<INPUT class="ButtonCss" id="cmdDelete" type="submit" value="删除角色" name="cmdDelete" runat="server">
  78. <INPUT class="ButtonCss" onclick="ReturnBack();" type="button" value="返回" name="Reset"></TD>
  79. </TR>
  80. </TABLE>
  81. <TABLE class="gbtext" id="tabAdd" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  82. cellSpacing="0" cellPadding="0" width="100%" align="center" border="1" runat="server">
  83. <TR>
  84. <TD style="WIDTH: 94px"><FONT face="宋体">角色名称:</FONT></TD>
  85. <TD><FONT face="宋体">&nbsp;</FONT>
  86. <asp:textbox id="txtARoleName" Columns="86" CssClass="inputsta" Runat="server"></asp:textbox>
  87. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtARoleName" ErrorMessage="请输入角色名"></asp:RequiredFieldValidator></TD>
  88. </TR>
  89. <TR>
  90. <TD style="WIDTH: 94px"><FONT face="宋体">角色简介:</FONT></TD>
  91. <TD><FONT face="宋体"></FONT><FONT face="宋体">&nbsp;
  92. <asp:textbox id="txtARoleDescription" Columns="87" CssClass="inputsta" Runat="server" Rows="5"
  93. TextMode="MultiLine"></asp:textbox></FONT></TD>
  94. </TR>
  95. <TR>
  96. <TD style="WIDTH: 94px"><FONT face="宋体"></FONT></TD>
  97. <TD><FONT face="宋体">&nbsp;&nbsp;<INPUT class="ButtonCss " id="cmdAdd" accessKey="o" type="submit" value="添加角色" name="cmdAdd"
  98. runat="server"> <INPUT class="ButtonCss" onclick="ReturnBack()" type="button" value="返回" name="cmdAddBack"></FONT></TD>
  99. </TR>
  100. </TABLE>
  101. </form>
  102. </body>
  103. </HTML>