<%@ page language="C#" masterpagefile="~/MasterFile/TimeCheck.master" autoeventwireup="true" inherits="Master_TA_UI_MasterTransportationMappingList, App_Web_j13ye5o5" title="TransportationMappingList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPH" runat="Server">
    <table border="0" cellspacing="0" cellpadding="0" align="center" width="500" style="text-align: left;">
        <tr>
            <td valign="top" style="width: 16px">
                <img src="../Images/corner1.gif" width="15" height="15" /></td>
            <td valign="top" background="../Images/sideline.gif" bgcolor="#EAEAEA">
                <img src="../Images/spacer.gif" width="1" height="1" /></td>
            <td valign="top">
                <img src="../Images/corner2.gif" width="15" height="15" /></td>
        </tr>
        <tr>
            <td background="../Images/line.gif" style="width: 16px">
                &nbsp;</td>
            <td valign="top" bgcolor="#EAEAEA">
                <table border="0" align="center" cellpadding="3" cellspacing="2" width="500">
                    <tr>
                        <td valign="top" colspan="2" class="ModuleTitle">
                            <font color="#000080">Transportation-VehicleMapping</font></td>
                    </tr>
                    <tr>
                        <td valign="top" class="ModuleHeadtd" align="center">
                            <asp:GridView ID="GridView1" runat="server" AllowSorting="True" CssClass="td" AllowPaging="true"
                                PageSize="10" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1"                                 CellPadding="4">
                                <Columns>
                                    <asp:TemplateField HeaderText="VehicleNo" SortExpression="VehicleNo">
                                        <ItemTemplate>
                                            <a href="TA_UI_MasterTransportationMappingView.aspx?VID=<%#Eval("VehicleId") %>">
                                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("VehicleNo") %>'></asp:Label></a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="RouteName" SortExpression="Route_Name">
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("Route_Name") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <RowStyle Height="30px" />
                                <PagerStyle VerticalAlign="Bottom" HorizontalAlign="Right" Font-Overline="False"
                                    Font-Size="Smaller" />
                                <PagerSettings Mode="NumericFirstLast" FirstPageText="First" LastPageText="Last"
                                    NextPageText="Next" PreviousPageText="&lt;" />
                            </asp:GridView>
                            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="SelectTransportationMappingDetails"
                                TypeName="cls_Master_Transportation"></asp:ObjectDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <table border="0" align="center" cellpadding="5" cellspacing="0">
                                <tr>
                                    <td align="right" valign="middle">
                                        <asp:Button runat="server" ID="btn_add" CssClass="but" OnClick="btn_add_Click" /></td>
                                    <td align="center">
                                        <asp:Button ID="btn_cancel" CssClass="but" runat="server" OnClick="btn_cancel_Click" /></td>
                                </tr>
                            </table>
                        </td>
                </table>
                <td background="../Images/line1.gif">
                    &nbsp;</td>
        </tr>
        <tr>
            <td valign="bottom" style="width: 16px">
                <img src="../Images/corner3.gif" width="15" height="16" /></td>
            <td valign="bottom" background="../Images/sideline1.gif" bgcolor="#EAEAEA">
                <img src="../Images/spacer.gif" width="1" height="1" /></td>
            <td valign="bottom">
                <img src="../Images/corner4.gif" width="15" height="16" /></td>
        </tr>
    </table>
</asp:Content>
