<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="PartsEdit.aspx.cs" Inherits="PirTickets.PartsEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h2>Part Details</h2>
    <table cellpadding="2" border="0">
        <tr>
            <td>Id:</td>
            <td>&nbsp;</td>
            <td>
                <asp:Label ID="lblID" runat="server" Text="Label"></asp:Label>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Partno:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="TxtPartno" MaxLength="50" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvPartno" ControlToValidate="TxtPartno" ErrorMessage="Partno is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Partname:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="TxtPartname" MaxLength="50" runat="server" 
                    Width="182px" /></td>
            <td><asp:RequiredFieldValidator ID="RfvPartname" ControlToValidate="TxtPartname" ErrorMessage="Partname is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td valign="top">Description:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="TxtDescription" MaxLength="200" runat="server" Height="76px" 
                    TextMode="MultiLine" Width="260px" /></td>
            <td><asp:RequiredFieldValidator ID="RfvDescription" ControlToValidate="TxtDescription" ErrorMessage="Description is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Cost:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="txtCost" MaxLength="10" runat="server" 
                    Width="57px" /></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Quantity:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="TxtQuant" MaxLength="10" runat="server" 
                    Width="57px" /></td>
            <td><asp:RequiredFieldValidator ID="RfvQuant" ControlToValidate="TxtQuant" ErrorMessage="Quant is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Reorder Level:</td>
            <td>&nbsp;</td>
            <td><asp:TextBox ID="TxtReorder" MaxLength="10" runat="server" 
                    Width="56px" /></td>
            <td><asp:RequiredFieldValidator ID="RfvReorder" ControlToValidate="TxtReorder" ErrorMessage="Reorder is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Part Source:</td>
            <td></td>
            <td><asp:TextBox ID="TxtPartsource" MaxLength="50" runat="server" 
                    Width="200px" /></td>
            <td></td>
        </tr>
        <tr>
            <td>Source Part Code:</td>
            <td></td>
            <td><asp:TextBox ID="TxtSourcepartcode" MaxLength="50" runat="server" /></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="2"></td>
            <td colspan="2">
                <asp:Button ID="BtnUpdate" runat="server" Text="Submit" 
                    onclick="BtnUpdate_Click" />&nbsp;&nbsp;
                <asp:Button ID="BtnCancel" CausesValidation="false" runat="server" 
                    Text="Cancel" onclick="BtnCancel_Click" />
            &nbsp;&nbsp;
                <asp:Button ID="bDelete" CausesValidation="false" runat="server" Text="Delete" 
                    onclick="bDelete_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
