OpRoleModify.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:4k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="OpRoleModify.aspx.cs" Inherits="SysManage_OpRoleModify" %>
  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.     <base target="_self" />
  6.     <link href="../Workflow/style/formbody.css" rel="Stylesheet" />
  7.     <title>业务角色</title>
  8.     <script type="text/javascript">
  9.         function CheckNull()
  10.         {
  11.             if (form1.TID.value==null || form1.TID.value=="")
  12.             {
  13.                 alert('系统提示:业务角色不能为空!');
  14.                 return false;
  15.             }
  16.         }
  17.         function OKCancel()
  18.         {
  19.             if (confirm("系统提示:您确定放弃本次操作吗?")) 
  20.     {
  21.         window.close();
  22.     }
  23.     return false;
  24.         }
  25.     </script>
  26. </head>
  27. <body class="body">
  28.     <form id="form1" runat="server">
  29.     <div>
  30.     <table width="100%">
  31.         <tr style="height:10px;">
  32.             
  33.         </tr>
  34.         <tr>
  35.             <td style="background-image:url(../images/toolbarbg.jpg); height:25;">
  36.             <img alt="" src="../Images/assignuser.ico" height="15" align="absmiddle"/>
  37.                  <strong>业务角色</strong>
  38.              </td>
  39.         </tr>
  40.     </table>
  41.     <table style="width:95%; left:10px;">
  42.         <tr style="height:10px;"></tr>
  43.         <tr>
  44.         <td style="width:10px"></td>
  45.         <td>
  46.         <fieldset>
  47.             <table>
  48.                 <tr>
  49.                     <td style="width:100px;">
  50.                         业务角色名称:
  51.                     </td>
  52.                     <td>
  53.                         <asp:TextBox ID="TID" runat="server" MaxLength="40" Width="250px"></asp:TextBox>
  54.                     </td>
  55.                 </tr>
  56.                 <tr>
  57.                     <td>
  58.                         角色所属类型:
  59.                     </td>
  60.                     <td>
  61.                     <asp:DropDownList ID ="DLstSort" runat="server" Width="254px"></asp:DropDownList>
  62.                         <%--<asp:TextBox ID="TDesc" runat ="server" MaxLength="100" TextMode="multiLine" Rows="5" Width="250"></asp:TextBox>--%>
  63.                     </td>
  64.                 </tr>
  65.                 <tr>
  66.                     <td>
  67.                         业务角色权限:
  68.                     </td>
  69.                     <td>
  70.                         <asp:CheckBoxList ID="ChList" runat="server" RepeatDirection="Horizontal"
  71.                             RepeatLayout="Flow">
  72.                         </asp:CheckBoxList></td>
  73.                 </tr>
  74.                 
  75.             </table>
  76.             <table cellpadding="0" cellspacing="0" border="0" style="height:12px; width:100%;">
  77.                  <tr>
  78.                <td colspan="4" style="height: 12px; text-align: right">
  79.                <hr color ="gray"/>
  80.                </td>
  81.            </tr>
  82.             </table>
  83.             <div style="text-indent:2em;height:220px;overflow-x:hidden;overflow-y:auto; width:100%;text-align:left;">
  84.                 <table>
  85.                 <tr>
  86.                     <td style="width:100px;">
  87.                         可编辑文件名:
  88.                     </td>
  89.                     <td>
  90.                         <asp:CheckBoxList ID="ChFName" runat="server" >
  91.                         </asp:CheckBoxList></td>
  92.                 </tr>
  93.                 
  94.             </table>
  95.             </div> 
  96.             </fieldset>
  97.             <table width="90%">
  98.                 <tr style="height:20px;"></tr>
  99.                 <tr>
  100.                     <td style="width:60px;height:20;">
  101.                     </td>
  102. <td style="height:22; text-align:right;">
  103. <asp:ImageButton id="ImgSave" runat="server" ImageUrl="~/Workflow/image/savebt.gif" OnClientClick ="javascript:return CheckNull();" OnClick="ImgSave_Click" ></asp:ImageButton>&nbsp;&nbsp;&nbsp;
  104. <asp:ImageButton id="ImgCancel" runat="server" ImageUrl="image/cancel.gif" OnClientClick="javascript:return OKCancel();"></asp:ImageButton>&nbsp;&nbsp;&nbsp;
  105. </td>
  106.                 </tr>
  107.             </table>
  108.             </td>
  109.             </tr>
  110.         </table>
  111.     </div>
  112.     </form>
  113. </body>
  114. </html>