<%@ Page Language="C#" CodeFile="BusEdit.aspx.cs" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="BusEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="Server">
    <table id="__tblSubmitImage" height="100%" style="display: none" width="100%">
        <tr>
            <td align="center">
                <img src="../Images/Sumiting.gif" /></td>
        </tr>
    </table>
    <table cellpadding="5" cellspacing="0" class="Navigator" width="100%">
        <tr>
            <td nowrap="nowrap" width="80">
            </td>
            <td align="left">
                <font class="NavigatorTitle">公交車輛管理-&gt;公交車輛信息管理</font></td>
            <td width="150">
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderList" runat="Server">
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js">
    </script>
    <table cellspacing="0" bordercolordark="#f8f8f8" cellpadding="5" align="center" bordercolorlight="#999999"
        border="1">
        <tr>
            <td bgcolor="#eeeeee" colspan="2">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red" EnableViewState="False" /></td>
        </tr>
        <tr>
            <td align="center" bgcolor="#dddddd" colspan="2">
                Bus编辑
                </td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                公交車輛編號:</td>
            <td>
                <asp:TextBox ID="txtID" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                車主編號:</td>
            <td>
                <asp:DropDownList ID="ddlOwners" runat="server" Width="100%" DataTextField="OwnersName" DataValueField="ID">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                車牌號碼:</td>
            <td>
                <asp:TextBox ID="txtBusLicense" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運輸証件:</td>
            <td>
                <asp:TextBox ID="txtTransportCard" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運輸証件發証日期:</td>
            <td>
                <asp:TextBox ID="txtTransportCardIssueDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運輸証件起始日期:</td>
            <td>
                <asp:TextBox ID="txtTransportCardFromDate"  onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運輸証件結束日期:</td>
            <td>
                <asp:TextBox ID="txtTransportCardToDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                车辆顏色:</td>
            <td>
                <asp:DropDownList ID="ddlBusColor" runat="server" Width="100%" DataTextField="value" DataValueField="value">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                座位數量:</td>
            <td>
                <asp:TextBox ID="txtSeatNumber" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                發動機編號:</td>
            <td>
                <asp:TextBox ID="txtEngine" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                底盤號碼:</td>
            <td>
                <asp:TextBox ID="txtChassis" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                车辆型号:</td>
            <td>
                <asp:TextBox ID="txtBusModel" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                燃油:</td>
            <td>
                <asp:DropDownList ID="ddlFuel" runat="server" Width="100%" DataTextField="value" DataValueField="value">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                年審日期:</td>
            <td>
                <asp:TextBox ID="txtAnnualDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                經營權証:</td>
            <td>
                <asp:TextBox ID="txtBusinessRightCard" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                經營權証發証日期:</td>
            <td>
                <asp:TextBox ID="txtBusinessRightCardIssueDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                經營權証起始日期:</td>
            <td>
                <asp:TextBox ID="txtBusinessRightCardFromDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                經營權証結束日期:</td>
            <td>
                <asp:TextBox ID="txtBusinessRightCardToDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運營証編號:</td>
            <td>
                <asp:TextBox ID="txtOperateCard" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運營証起始:</td>
            <td>
                <asp:TextBox ID="txtOperateCardFromDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運營証結束:</td>
            <td>
                <asp:TextBox ID="txtOperateCardToDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                運營証發証日期:</td>
            <td>
                <asp:TextBox ID="txtOperateIssueDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                线路名称:</td>
            <td>
                <asp:DropDownList ID="ddlLineName" runat="server" DataTextField="LineName" DataValueField="Id"
                    Width="100%">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="center" bgcolor="#eeeeee" colspan="2">
                <asp:Button runat="server" Text="保存" ID="btnOK" OnClick="btnOK_Click" /><input type="button"
                    value="返回" onclick="window.location='BusList.aspx'; " /></td>
        </tr>
    </table>
</asp:Content>
