<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" CodeFile="ToolsDetail.aspx.cs" inherits="Maintenance_TEC_ToolsDetail" title="<%$ Resources: SiteMapLocalizations, Maintenance_ToolEditDetail %>" theme="white" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <script language="javascript" type="text/javascript" src="../../Script/OpenSubPage.js">
        // open sub page
    </script>

<center>
<p class="masterpageContentTop" >
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" BackColor="White"
        BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="SES_ToolNo"
        DataSourceID="ObjectDataSource1" EnableViewState="false" Height="50px" AllowPaging="True"
        OnDataBound="DetailsView1_DataBound" >
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" Width="600px" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <Fields>
            <asp:TemplateField HeaderText="<%$ resources:Universal,SES_ToolNo %>" SortExpression="SES_ToolNo">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditSES_ToolNo" runat="server" Text='<%# Bind("SES_ToolNo") %>' Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtEditSES_ToolNo"
                        ErrorMessage="<%$ resources:Universal,Msg_Remind_SES_ToolNo %>" ValidationGroup="ValidationControls">*</asp:RequiredFieldValidator>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertSES_ToolNo" runat="server" Text='<%# Bind("SES_ToolNo") %>' Width="300px"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtInsertSES_ToolNo"
                        ErrorMessage="<%$ resources:Universal,Msg_Remind_SES_ToolNo %>" ValidationGroup="ValidationControls">*</asp:RequiredFieldValidator>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblSES_ToolNo" runat="server" Text='<%# Bind("SES_ToolNo") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Customer_ToolNo %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditCustomer_ToolNo" runat="server" Text='<%# Bind("Customer_ToolNo") %>' Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" ControlToValidate="txtEditCustomer_ToolNo"
                        ErrorMessage="<%$ resources:Universal,Msg_Remind_Customer_ToolNo %>" ValidationGroup="ValidationControls">*</asp:RequiredFieldValidator>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertCustomer_ToolNo" runat="server" Text='<%# Bind("Customer_ToolNo") %>' Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" ControlToValidate="txtInsertCustomer_ToolNo"
                        ErrorMessage="<%$ resources:Universal,Msg_Remind_Customer_ToolNo %>" ValidationGroup="ValidationControls">*</asp:RequiredFieldValidator>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblName" runat="server" Text='<%# Bind("Customer_ToolNo") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Comm_FABID %>">
                <EditItemTemplate>
                    <asp:DropDownList ID="ddlEditFABID" DataSourceID="ObjectDataSource2" OnSelectedIndexChanged="ddlFABID_Changed" runat="server"></asp:DropDownList>
                    <asp:HiddenField ID="hidEditFABID" OnDataBinding="lblFABID_DataBinding" Value='<%# Bind("FABID") %>'  runat="server"></asp:HiddenField>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:DropDownList ID="ddlInsertFABID" DataSourceID="ObjectDataSource2" OnSelectedIndexChanged="ddlFABID_Changed" runat="server"></asp:DropDownList>
                    <asp:HiddenField ID="hidInsertFABID" OnDataBinding="lblFABID_DataBinding" Value='<%# Bind("FABID") %>'  runat="server"></asp:HiddenField>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblFABID" runat="server" Text='<%# Bind("FABID") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Tools_ToolType %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditToolType" runat="server" Text='<%# Bind("ToolType") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertToolType" runat="server" Text='<%# Bind("ToolType") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblToolType" runat="server" Text='<%# Bind("ToolType") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Tools_ReleasedDate %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtReleasedDate" runat="server" Text='<%# Bind("ReleasedDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlReleasedDate" Target="_blank" runat="Server"></asp:HyperLink>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtReleasedDate" runat="server" Text='<%# Bind("ReleasedDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlReleasedDate" Target="_blank" runat="Server"></asp:HyperLink>
              </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblReleasedDate" runat="server" Text='<%# Bind("ReleasedDate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Tools_MovingDate %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtMovingDate" runat="server" Text='<%# Bind("MovingDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlMovingDate" Target="_blank" runat="Server"></asp:HyperLink>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtMovingDate" runat="server" Text='<%# Bind("MovingDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlMovingDate" Target="_blank" runat="Server"></asp:HyperLink>
              </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblMovingDate" runat="server" Text='<%# Bind("MovingDate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Tools_InstalledDate %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtInstalledDate" runat="server" Text='<%# Bind("InstalledDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlInstalledDate" Target="_blank" runat="Server"></asp:HyperLink>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInstalledDate" runat="server" Text='<%# Bind("InstalledDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlInstalledDate" Target="_blank" runat="Server"></asp:HyperLink>
              </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblInstalledDate" runat="server" Text='<%# Bind("InstalledDate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal,Tools_Guarantee %>" SortExpression="Guarantee">
                <EditItemTemplate>
                    <asp:DropDownList ID="ddlEditGuarantee" OnSelectedIndexChanged="ddlGuarantee_Changed" runat="server">
                        <asp:ListItem Value="<%$ resources:Universal, Tools_NotAccept %>" Text="<%$ resources:Universal, Tools_NotAccept %>"></asp:ListItem>
                        <asp:ListItem Value="<%$ resources:Universal, Tools_Warranted %>" Text="<%$ resources:Universal, Tools_Warranted %>" ></asp:ListItem>
                        <asp:ListItem Value="<%$ resources:Universal, Tools_Unwarranted %>" Text="<%$ resources:Universal, Tools_Unwarranted %>" ></asp:ListItem>
                    </asp:DropDownList>
                    <asp:HiddenField ID="hidEditGuarantee" OnDataBinding="Guarantee_DataBinding" runat="server" Value='<%# Bind("Guarantee") %>'></asp:HiddenField>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:DropDownList ID="ddlInsertGuarantee" OnSelectedIndexChanged="ddlGuarantee_Changed" runat="server">
                        <asp:ListItem Value="<%$ resources:Universal, Tools_NotAccept %>" Text="<%$ resources:Universal, Tools_NotAccept %>"></asp:ListItem>
                        <asp:ListItem Value="<%$ resources:Universal, Tools_Warranted %>" Text="<%$ resources:Universal, Tools_Warranted %>"></asp:ListItem>
                        <asp:ListItem Value="<%$ resources:Universal, Tools_Unwarranted %>" Text="<%$ resources:Universal, Tools_Unwarranted %>"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:HiddenField ID="hidInsertGuarantee" OnDataBinding="Guarantee_DataBinding" runat="server" Value='<%# Bind("Guarantee") %>'></asp:HiddenField>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblGuarantee" runat="server" Text='<%# Bind("Guarantee") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal, Tools_GuaranteeStartDate %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtGuaranteeStartDate" runat="server" Text='<%# Bind("GuaranteeStartDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlGuaranteeStartDate" Target="_blank" runat="Server"></asp:HyperLink>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtGuaranteeStartDate" runat="server" Text='<%# Bind("GuaranteeStartDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlGuaranteeStartDate" Target="_blank" runat="Server"></asp:HyperLink>
              </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblGuaranteeStartDate" runat="server" Text='<%# Bind("GuaranteeStartDate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ resources:Universal, Tools_GuaranteeEndDate %>">
                <EditItemTemplate>
                    <asp:TextBox ID="txtGuaranteeEndDate" runat="server" Text='<%# Bind("GuaranteeEndDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlGuaranteeEndDate" Target="_blank" runat="Server"></asp:HyperLink>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtGuaranteeEndDate" runat="server" Text='<%# Bind("GuaranteeEndDate") %>' Width="300px"></asp:TextBox>
                    <asp:HyperLink ImageUrl="~\imanges\more.gif" ID="hlGuaranteeEndDate" Target="_blank" runat="Server"></asp:HyperLink>
              </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblGuaranteeEndDate" runat="server" Text='<%# Bind("GuaranteeEndDate") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_1" SortExpression="Module1">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule1" runat="server" Text='<%# Bind("Module1") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule1" runat="server" Text='<%# Bind("Module1") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule1" runat="server" Text='<%# Bind("Module1") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_2" SortExpression="Module2">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule2" runat="server" Text='<%# Bind("Module2") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule2" runat="server" Text='<%# Bind("Module2") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule2" runat="server" Text='<%# Bind("Module2") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_3" SortExpression="Module3">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule31" runat="server" Text='<%# Bind("Module3") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule3" runat="server" Text='<%# Bind("Module3") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule3" runat="server" Text='<%# Bind("Module3") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_4" SortExpression="Module4">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule4" runat="server" Text='<%# Bind("Module4") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule4" runat="server" Text='<%# Bind("Module4") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule4" runat="server" Text='<%# Bind("Module4") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_5" SortExpression="Module5">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule5" runat="server" Text='<%# Bind("Module5") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule5" runat="server" Text='<%# Bind("Module5") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule5" runat="server" Text='<%# Bind("Module5") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_6" SortExpression="Module6">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule6" runat="server" Text='<%# Bind("Module6") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule6" runat="server" Text='<%# Bind("Module6") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule6" runat="server" Text='<%# Bind("Module6") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_7" SortExpression="Module7">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule7" runat="server" Text='<%# Bind("Module7") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule7" runat="server" Text='<%# Bind("Module7") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule7" runat="server" Text='<%# Bind("Module7") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_8" SortExpression="Module8">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule8" runat="server" Text='<%# Bind("Module8") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule8" runat="server" Text='<%# Bind("Module8") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule8" runat="server" Text='<%# Bind("Module8") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_9" SortExpression="Module9">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule9" runat="server" Text='<%# Bind("Module9") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule9" runat="server" Text='<%# Bind("Module9") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule9" runat="server" Text='<%# Bind("Module9") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_10" SortExpression="Module10">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule10" runat="server" Text='<%# Bind("Module10") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule10" runat="server" Text='<%# Bind("Module10") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule10" runat="server" Text='<%# Bind("Module10") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_11" SortExpression="Module11">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule11" runat="server" Text='<%# Bind("Module11") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule11" runat="server" Text='<%# Bind("Module11") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule11" runat="server" Text='<%# Bind("Module11") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_12" SortExpression="Module12">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule12" runat="server" Text='<%# Bind("Module12") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule12" runat="server" Text='<%# Bind("Module12") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule12" runat="server" Text='<%# Bind("Module12") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_13" SortExpression="Module13">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule13" runat="server" Text='<%# Bind("Module13") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule13" runat="server" Text='<%# Bind("Module13") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule13" runat="server" Text='<%# Bind("Module13") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_14" SortExpression="Module14">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule14" runat="server" Text='<%# Bind("Module14") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule14" runat="server" Text='<%# Bind("Module14") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule14" runat="server" Text='<%# Bind("Module14") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Module_15" SortExpression="Module15">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditModule15" runat="server" Text='<%# Bind("Module15") %>' Width="300px"></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertModule15" runat="server" Text='<%# Bind("Module15") %>' Width="300px"></asp:TextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblModule15" runat="server" Text='<%# Bind("Module15") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>

            <asp:TemplateField HeaderText="<%$ resources: Universal,Comm_Comment %>" SortExpression="Comment">
                <EditItemTemplate>
                    <asp:TextBox ID="txtEditComment" runat="server" Text='<%# Bind("Comment") %>'></asp:TextBox>
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:TextBox ID="txtInsertComment" runat="server" Text='<%# Bind("Comment") %>'></asp:TextBox>
                </InsertItemTemplate>
                <ControlStyle Height="60px" Width="300px" />
                <ItemTemplate>
                    <asp:Label ID="lblComment" runat="server" Text='<%# Bind("Comment") %>'></asp:Label>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" />
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" ShowInsertButton="True" ShowDeleteButton="True" EditText="<%$ resources: Universal,Data_Edit %>" 
                 NewText="<%$ resources: Universal,Data_AddNew %>" UpdateText="<%$ resources: Universal,Data_Update %>"
                 CancelText="<%$ resources: Universal,Data_Cancel %>" InsertText="<%$ resources: Universal,Data_Save %>" 
                 DeleteText="<%$ resources: Universal,Data_Delete %>" ValidationGroup="ValidationControls" />
        </Fields>
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
        <FooterTemplate>
            <asp:HyperLink ID="HyperLink1" NavigateUrl="Tools.aspx" Text="<%$ resources: Universal, Msg_Back %>" runat="server"> 
            </asp:HyperLink>
        </FooterTemplate>
<%--        <PagerTemplate>
            pager
        </PagerTemplate>
        <EmptyDataTemplate>
            empty
        </EmptyDataTemplate>
--%>        <HeaderTemplate>
            
        </HeaderTemplate>
    </asp:DetailsView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DeleteMethod="Delete"
        InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataBySES_ToolNo"
        TypeName="TEC_ToolsData" UpdateMethod="Update"  OnDeleted="ObjectDataSource_ItemCommanded"
        OnInserted="ObjectDataSource_ItemCommanded" OnUpdated="ObjectDataSource_ItemCommanded" >
        <DeleteParameters>
            <asp:Parameter Name="Original_SES_ToolNo" Type="String" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="SES_ToolNo" Type="String" />
            <asp:Parameter Name="Customer_ToolNo" Type="String" />
            <asp:Parameter Name="FABID" Type="String" />
            <asp:Parameter Name="ToolType" Type="String" />
            <asp:Parameter Name="ReleasedDate" Type="DateTime" />
            <asp:Parameter Name="MovingDate" Type="DateTime" />
            <asp:Parameter Name="InstalledDate" Type="DateTime" />
            <asp:Parameter Name="Guarantee" Type="String" />
            <asp:Parameter Name="Module1" Type="String" />
            <asp:Parameter Name="Module2" Type="String" />
            <asp:Parameter Name="Module3" Type="String" />
            <asp:Parameter Name="Module4" Type="String" />
            <asp:Parameter Name="Module5" Type="String" />
            <asp:Parameter Name="Module6" Type="String" />
            <asp:Parameter Name="Module7" Type="String" />
            <asp:Parameter Name="Module8" Type="String" />
            <asp:Parameter Name="Module9" Type="String" />
            <asp:Parameter Name="Module10" Type="String" />
            <asp:Parameter Name="Module11" Type="String" />
            <asp:Parameter Name="Module12" Type="String" />
            <asp:Parameter Name="Module13" Type="String" />
            <asp:Parameter Name="Module14" Type="String" />
            <asp:Parameter Name="Module15" Type="String" />
            <asp:Parameter Name="Comment" Type="String" />
            <asp:Parameter Name="Original_SES_ToolNo" Type="String" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="SES_ToolNo" Type="String" />
            <asp:Parameter Name="Customer_ToolNo" Type="String" />
            <asp:Parameter Name="FABID" Type="String" />
            <asp:Parameter Name="ToolType" Type="String" />
            <asp:Parameter Name="ReleasedDate" Type="DateTime" />
            <asp:Parameter Name="MovingDate" Type="DateTime" />
            <asp:Parameter Name="InstalledDate" Type="DateTime" />
            <asp:Parameter Name="Guarantee" Type="String" />
            <asp:Parameter Name="Module1" Type="String" />
            <asp:Parameter Name="Module2" Type="String" />
            <asp:Parameter Name="Module3" Type="String" />
            <asp:Parameter Name="Module4" Type="String" />
            <asp:Parameter Name="Module5" Type="String" />
            <asp:Parameter Name="Module6" Type="String" />
            <asp:Parameter Name="Module7" Type="String" />
            <asp:Parameter Name="Module8" Type="String" />
            <asp:Parameter Name="Module9" Type="String" />
            <asp:Parameter Name="Module10" Type="String" />
            <asp:Parameter Name="Module11" Type="String" />
            <asp:Parameter Name="Module12" Type="String" />
            <asp:Parameter Name="Module13" Type="String" />
            <asp:Parameter Name="Module14" Type="String" />
            <asp:Parameter Name="Module15" Type="String" />
            <asp:Parameter Name="Comment" Type="String" />
        </InsertParameters>
        <SelectParameters>
            <asp:QueryStringParameter Name="SES_ToolNo" QueryStringField="SES_ToolNo" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" TypeName="Customer_FABData" SelectMethod="SelectDistinct" >
        <SelectParameters>
            <asp:QueryStringParameter Name="ColumnName" DefaultValue="FABID" Type="String" />
            <asp:QueryStringParameter Name="Condition" DefaultValue="1=1" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    
    
     <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
         ShowSummary="False" ValidationGroup="ValidationControls" />
</p>
</center>
</asp:Content>

