<%@ Page Language="C#" CodeFile="ConductorEmployeeEdit.aspx.cs" MasterPageFile="~/MasterPage.master"AutoEventWireup="true" Inherits="ConductorEmployeeEdit" %>
<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>
    
    <script language="javascript" id="clientEventHandlersJS">
function InsertPicture()
{
	var CPicture = showModalDialog("BusUpload.aspx", "", "dialogWidth:18.5em; dialogHeight:7em; status:0");
	if(CPicture && CPicture!=0){
		IDPicture.innerHTML="<IMG SRC='" + decodeURIComponent(CPicture) + "' BORDER='0' width='100' height='120'>"
		Form1.LoadPic.value=CPicture;
	}	
}

</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">
                ConductorEmployee编辑
            </td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                編號:</td>
            <td>
                <asp:TextBox ID="txtID" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                身份證:</td>
            <td>
                <asp:TextBox ID="txtIDCard" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                姓名:</td>
            <td>
                <asp:TextBox ID="txtName" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                性別:</td>
            <td>
                <asp:DropDownList ID="ddlSex" runat="server" Width="100%">
                    <asp:ListItem Value="true">男</asp:ListItem>
                    <asp:ListItem Value="false">女</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                電話:</td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                政治面貌:</td>
            <td>
                <asp:DropDownList ID="ddlLandscape" runat="server" DataTextField="value" DataValueField="value"
                    Width="100%">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                地址:</td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                出生日期:</td>
            <td>
                <asp:TextBox ID="txtBirthDay" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                照片:</td>
            <td id="IDPicture">      <div align="center"><a onclick="javascript:InsertPicture()" style="cursor:hand;">点击上传照片</a></div></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                服務單位:</td>
            <td>
                <asp:TextBox ID="txtServiceUnit" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                教育程度:</td>
            <td>
                <asp:DropDownList ID="ddlEducation" runat="server" DataTextField="value" DataValueField="value"
                    Width="100%">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                服務資格證:</td>
            <td>
                <asp:TextBox ID="txtServiceCardNO" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                有效期自:</td>
            <td>
                <asp:TextBox ID="txtServiceCardNOFromDate" onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                有效期至:</td>
            <td>
                <asp:TextBox ID="txtServiceCardNOToDate"  onclick="new WdatePicker(this,'%Y-%M-%D',false,'default')" runat="server" BorderStyle="Groove" /></td>
        </tr>
        <tr>
            <td bgcolor="#eeeeee">
                車輛編號:</td>
            <td>
                <asp:DropDownList ID="ddlBusID" runat="server" DataTextField="BusLicense" 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='ConductorEmployeeList.aspx'; " /></td>
        </tr>
    </table>
</asp:Content>
