<%@ page language="C#" autoeventwireup="true" inherits="kaohe_juanzongadd, zhifakaohe_deploy" %>

<!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></title>
<style type="text/css">
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
    *{font-size:12px;font-family:宋体;scrollbar-highlight-color: #ffffff;scrollbar-shadow-color: #919192;scrollbar-darkshadow-color: #ffffff;}
    .style10
    {
        width: 78px;
        height: 29px;
    }
    .style16
    {
        width: 78px;
        height: 15px;
    }
    .style17
    {
        color: #FF0000;
    }
    </style>
    <link href="../css/common.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    function Checkbox1_onclick() {
        for (var i = 0; i < document.getElementById("cbluserid").getElementsByTagName("input").length; i++) {
            var objCheck = document.getElementById("cbluserid_" + i);
            if (objCheck.checked)
                objCheck.checked = false;
            else
                objCheck.checked = true;
        }
    }
    function Checkbox2_onclick() {
        for (var i = 0; i < document.getElementById("cblbumenid").getElementsByTagName("input").length; i++) {
            var objCheck = document.getElementById("cblbumenid_" + i);
            if (objCheck.checked)
                objCheck.checked = false;
            else
                objCheck.checked = true;
        }
    }    
</script>
<script language="javascript" charset="gb2312" src="../js/calc.js"></script>
</head>
<body>
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" 
          background="../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30">
            <img src="../images/tab_03.gif" 
                width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle">&nbsp;</td>
            <td width="54%">&nbsp;</td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_07.gif" 
                width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="../images/tab_12.gif">&nbsp;</td>
        <td>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table class="line_table">
                    <tr>
                        <td class="style14">
                            <span lang="zh-cn">卷宗编号</span></td>
                        <td>
                            <asp:TextBox ID="txtbianhao" runat="server"></asp:TextBox>
                            <span class="style17" lang="zh-cn">*</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtbianhao" 
                                ErrorMessage="卷宗编号不能为空！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style14">
                            <span lang="zh-cn">卷宗</span>名称</td>
                        <td>
                            <asp:TextBox ID="txttitle" runat="server" Width="202px"></asp:TextBox>
                            <span class="style17" lang="zh-cn">*</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator2" runat="server" ControlToValidate="txttitle" 
                                ErrorMessage="名称不能为空！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style16">
                            <span lang="zh-cn">卷宗分类</span></td>
                        <td>
                            <asp:DropDownList ID="ddlfenlei" runat="server" AppendDataBoundItems="True" 
                                AutoPostBack="True" >
                                <asp:ListItem Value="">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <span class="style17" lang="zh-cn">*</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlfenlei" 
                                ErrorMessage="卷宗分类必须选择！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style16">
                            <span lang="zh-cn">所属单位</span></td>
                        <td>
                            <asp:DropDownList ID="ddlbumen" runat="server" AppendDataBoundItems="True" 
                                AutoPostBack="True" >
                                <asp:ListItem Value="">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <span class="style17" lang="zh-cn">*</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlbumen" 
                                ErrorMessage="所属单位必须选择！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style16">
                            办理<span lang="zh-cn">时间</span></td>
                        <td>
                            <asp:TextBox ID="txtbanlitime" runat="server" onfocus="HS_setDate(this)"></asp:TextBox>
                            <span class="style17" lang="zh-cn">*</span><asp:RegularExpressionValidator 
                                ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtbanlitime" 
                                ErrorMessage="日期格式不正确！" 
                                
                                ValidationExpression="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                            <span lang="zh-cn">主办人</span></td>
                        <td>
                            <asp:DropDownList ID="ddluserid" runat="server" AppendDataBoundItems="true">
                            <asp:ListItem Value="">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <span class="style17" lang="zh-cn">*</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator6" runat="server" ControlToValidate="ddluserid" 
                                ErrorMessage="主办人员必须选择！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                            <span lang="zh-cn">提交人</span></td>
                        <td>
                            <asp:TextBox ID="txttijiao" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                            提交<span lang="zh-cn">时间</span></td>
                        <td>
                            <asp:TextBox ID="txtaddtime" runat="server" onfocus="HS_setDate(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span lang="zh-cn">备注</span></td>
                        <td>
                            <asp:TextBox ID="txtbeizhu" runat="server" TextMode="MultiLine" Width="386px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                                AssociatedUpdatePanelID="UpdatePanel1">
                                <ProgressTemplate>
                                    <asp:Image ID="images1" runat="server" ImageUrl="~/images/loading.gif" />
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="添加" />
                            <input ID="Reset1" type="reset" value="重置" /><asp:Label ID="labmsg" 
                                runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        
          </td>
        <td width="8" background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="../images/tab_19.gif">&nbsp;</td>
  </tr>
</table>
    </form>
</body>
</html>
