<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ItemDet.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_ItemDet" %>


<asp:HiddenField ID="hfItemId" runat="server" Value="0" />
<asp:FormView ID="frmView" runat="server" DataKeyNames="ItemID" DataSourceID="ods" Width="100%">
    <ItemTemplate>
        <div class="row textCondens">
            <div class="col-3 text-left">
                <i class="fa fa-qrcode" aria-hidden="true"></i> <asp:Label ID="ItemDtmxLabel" runat="server" Text='<%# Eval("ItemDtmx") %>' />
            </div>
            <div class="col-6 px-0 text-center">
                <asp:Label ID="ItemDescLabel" runat="server" Text='<%# Eval("ItemDesc") %>' />
            </div>
            <div class="col-3 text-right font-weight-bold">
                <asp:Label ID="ItemExtCodeLabel" runat="server" Text='<%# Eval("ItemExtCode") %>' />
            </div>
        </div>
    </ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="AppData.DS_AppTableAdapters.ItemListTableAdapter">
    <SelectParameters>
        <asp:ControlParameter ControlID="hfItemId" DefaultValue="0" Name="ItemID" PropertyName="Value" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
