<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_projectB.aspx.cs" Inherits="Web.rl.admin.login_projectB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="/css/admincss/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
 <form id="form1" runat="server" defaultfocus ="tbAddField" defaultbutton ="btAddProject">
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31px"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">系统设置</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(/css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">其他信息项目设置</div></td>
          </tr>
        </table> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>

        <div style ="margin-top:15px">
            <asp:Panel ID="plAdd" runat="server">                  <b>添加字段：</b><asp:TextBox ID="tbAddField" runat="server" Width ="200px"></asp:TextBox>
                <asp:Button ID="btAddProject" runat="server" Text="添加" 
                    ValidationGroup="AddField" onclick="btAddProject_Click" />   
                    <asp:Label ID="lbAddMessage" runat="server" ForeColor="Red"></asp:Label>                                  
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="tbAddField" Display="Dynamic" 
                    ErrorMessage="名称不能为空。" ValidationGroup="AddField" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="tbAddField" Display="Dynamic" 
                    ErrorMessage="请输入少于25个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,25}$" 
                    ValidationGroup="AddField" ForeColor="Red"></asp:RegularExpressionValidator>
                
            </asp:Panel>
              
                </div>
                <div>

                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        BorderWidth="1px" cellspacing="1" CssClass="gv" 
                        onrowcancelingedit="GridView1_RowCancelingEdit" 
                        onrowdatabound="GridView1_RowDataBound" onrowediting="GridView1_RowEditing" 
                        onrowupdating="GridView1_RowUpdating" Width="500px" 
                        onrowcreated="GridView1_RowCreated">
                        <RowStyle BorderWidth="1px" CssClass="gvrow" />
                        <Columns>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" 
                                        OnCheckedChanged="CheckBox2_CheckedChanged" Text="全选" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True">
                            <ControlStyle CssClass="hidden" />
                            <FooterStyle CssClass="hidden" />
                            <HeaderStyle CssClass="hidden" />
                            <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                                                                           <asp:TemplateField HeaderText="字段名称">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("project") %>' Width="40px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox8" Display="Dynamic" ErrorMessage="名称不能为空。" ForeColor="Red"></asp:RequiredFieldValidator>

                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="TextBox8" Display="Dynamic" ErrorMessage="请不要超过25个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,25}$" 
                    ForeColor="Red"></asp:RegularExpressionValidator>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="Label8" runat="server" Text='<%# Bind("project") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                            <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                        </Columns>
                        <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                    </asp:GridView>

            <asp:Button ID="btDelAll" runat="server" onclick="btDelAll_Click" Text="批量删除" />
                                </div> 
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
    </td>
    <td  style =" background-image:url(/css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
