<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.jurisdiction" Codebehind="jurisdiction_config.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>权限定义</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="site_css.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td align="center" height="20">系统高级管理 — 权限定义</td>
					</tr>
				</table>
			</div>
			<div id="place">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td height="30">您当前的位置：系统高级管理 &gt;&gt; 权限定义<font color="#FF0000">（警告：系统正式启用后切勿对该模块数据做编辑与删除操作）</font></td>
					</tr>
				</table>
			</div>
			<div id="contentdiv">
				<table class="maintable" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TBODY>
						<tr>
							<td vAlign="middle" align="left" height="30">
								<STRONG>权限数：<asp:label id="Label1" runat="server" ForeColor="Red">Label</asp:label>&nbsp;<asp:button id="Button1" runat="server" CausesValidation="False" Text="当页全选" Width="72px"></asp:button>
                                &nbsp;<asp:button id="Button2" runat="server" CausesValidation="False" Text="取消选择" Width="72px"></asp:button>
                                &nbsp;<asp:button 
                                    id="Button3" runat="server" ForeColor="Red" CausesValidation="False" Text="删除选中项目"
											Width="93px" ></asp:button><br />
                                    添加新项：</STRONG>名称<asp:TextBox ID="mc" 
                                        runat="server" Width="100px" style="width:100px;"></asp:TextBox>
                                    说明<asp:TextBox ID="sm" runat="server"></asp:TextBox>
                                    权重<asp:TextBox ID="qz" runat="server" Width="40px" style="width:40px;">100</asp:TextBox>
                                
							    <asp:button id="Button4" runat="server" 
                                    Text="添加" Width="50px"></asp:button><STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="mc" ErrorMessage="名称不能为空"></asp:requiredfieldvalidator>
							<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="qz" ErrorMessage="权重不能为空"></asp:requiredfieldvalidator>
							<asp:regularexpressionvalidator id="RegularExpressionValidator3" runat="server" 
                                    ControlToValidate="qz" ErrorMessage="权重必须为整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator></STRONG>
                                
							</td>
						</tr>
						<tr>
							<td>
                                <asp:GridView ID="GridView1" runat="server" BackColor="White" 
                                    BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                                    Width="100%" AutoGenerateColumns="False" GridLines="Vertical">
                                    <RowStyle ForeColor="Black" BackColor="#EEEEEE" Height="20px" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="选择">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="CheckBox1" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True" />
                                        <asp:TemplateField HeaderText="名称">
                                            <EditItemTemplate>
                                                <asp:TextBox ID="mc2" runat="server" 
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.mc") %>' Width="120px" style="width:120px;"></asp:TextBox>
                                            </EditItemTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="mc1" runat="server" 
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.mc") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="说明">
                                            <EditItemTemplate>
                                                <asp:TextBox ID="sm2" runat="server" 
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.sm") %>' Width="300px" style="width:300px;"></asp:TextBox>
                                            </EditItemTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="sm1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.sm") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="权重">
                                            <EditItemTemplate>
                                                <asp:TextBox ID="qz2" runat="server" 
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.qz") %>' Width="40px" style="width:40px;"></asp:TextBox>
                                            </EditItemTemplate>
                                            <ItemTemplate>
                                                <asp:Label ID="qz1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.qz") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    
                                        <asp:TemplateField HeaderText="编辑" ShowHeader="False">
                                            <EditItemTemplate>
                                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                                                    CommandName="Update" Text="更新"></asp:LinkButton>
                                                &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                                                    CommandName="Cancel" Text="取消"></asp:LinkButton>
                                            </EditItemTemplate>
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                                                    CommandName="Edit" Text="编辑"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                    <EmptyDataTemplate>
                                        暂无记录！
                                    </EmptyDataTemplate>
                                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" 
                                        Height="20px" />
                                    <EditRowStyle Height="25px" />
                                    <AlternatingRowStyle BackColor="#DCDCDC" Height="20px" />
                                </asp:GridView>
                            </td>
						</tr>
					</TBODY></table>
			</div>
		</form>
	</body>
</HTML>
