<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostTrans.aspx.cs" Inherits="MicroERP.PostTrans" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="css/Back.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="js/calendar.js"></script>
    <title></title>
        <style type="text/css" >
        .imgext {vertical-align: middle
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" height="730" width="100%">
            <tr>
                <td width="12" background="Image/ShiftBar_bg.gif">
                </td>

                <td vAlign="top">
                    <table cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td height="30" style="padding-left: 10px" bgcolor="#F0F0F0">
                                <img align="absmiddle" alt="" src="Image/man.gif" />登录用户：<asp:Label ID="lblUserName" 
                                    runat="server"></asp:Label>
                            &nbsp;&nbsp;
                                <img align="absmiddle" alt="" src="/Image/viewrow.gif" />您的位置：<asp:Label 
                                    ID="lblLocation" runat="server"></asp:Label>&nbsp;&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 10px" valign="middle" height="2">
                                </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 10px" valign="top">
                                <table cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 84px; height: 30px;">事务描述：</td>
                                        <td style="height: 30px">
                                            <asp:TextBox ID="tbTitle" runat="server" CssClass="txtbox" Width="532px" Height="20px" MaxLength="90"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbTitle" Display="Dynamic" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 84px; height: 29px;">待办日期：</td>
                                        <td style="height: 29px">
                                            <asp:TextBox ID="tbPostTime" runat="server" CssClass="txtbox"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbPostTime" Display="Dynamic" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                            <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="tbPostTime" Display="Dynamic" ErrorMessage="RangeValidator" MaximumValue="2099-12-31" MinimumValue="1999-1-1" Type="Date">*</asp:RangeValidator>
                                                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Image/date.gif" onclientclick="new Calendar().show(this.form.tbPostTime); return false;" ToolTip="选择日期" CssClass="imgext"/></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 84px">待办内容：</td>
                                        <td>
                                            <asp:TextBox ID="tbContent" runat="server" Font-Names="微软雅黑" Font-Size="9pt" Height="290px" TextMode="MultiLine" Width="532px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 84px; height: 29px"></td>
                                        <td style="height: 29px"></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 84px">&nbsp;</td>
                                        <td>
                                            <asp:Button ID="btnSave" runat="server" CssClass="BlueButton" Text="保  存" OnClick="btnSave_Click" />
&nbsp;
                                            <asp:Button ID="btnCancel" runat="server" CssClass="BlueButton" Text="取  消" OnClick="btnCancel_Click" CausesValidation="False" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td style="padding-left: 10px" valign="top">&nbsp;</td>
                        </tr>


                    </table>
                </td>

            </tr>
        </table>
    </div>
    </form>
</body>
</html>

