<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddExpenseInfo.aspx.cs" Inherits="LeaseManage_AddLeaseInfo" %>

<!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 runat="server">
    <title>无标题页</title>
    <script type="text/javascript">
    function bind()
    {
        document.getElementById('name').value = document.getElementById('DropDownList1').value;
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div align="center">
     <table align="center" border="1" bordercolordark="#003399" bordercolorlight="#ffffff"
                cellspacing="0" style="font-size: 12px; width: 450px; height: 219px">
                <tr>
                    <td align="center" bgcolor="#003399" colspan="2" style="color: white; height: 27px">
                        添加支出信息</td>
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="name"
                            Display="Dynamic" ErrorMessage="支出人不能为空">*</asp:RequiredFieldValidator>支出人：</td>
                    <td nowrap style="text-align: left">
                        <asp:TextBox ID="name" runat="server" Width="160px"></asp:TextBox>
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="96px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="price"
                            Display="Dynamic" ErrorMessage="支出金额不能为空">*</asp:RequiredFieldValidator>
                  支出金额：</td>
                    <td style="width: 100px">
                        <asp:TextBox ID="price" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td align="right" style="width: 77px; text-align: right;">
                      用途：</td>
                    <td style="width: 100px">
                        <asp:TextBox ID="ues" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td align="right" style="width: 77px; text-align: right; height: 19px;">
                 备注：</td>
                    <td style="width: 100px; height: 19px; text-align: left;">
                        <asp:TextBox ID="mome" runat="server" Width="160px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="center" colspan="2" style="height: 34px">
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="　添加　" />
                        <input id="Reset1" type="reset" value="　重置　" /></td>
                </tr>
            </table>
    </div>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false" />
    </form>
</body>
</html>
