<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditCustomerView.ascx.cs" Inherits="Views_EditCustomerView" %> <h2>Edit Customer</h2> Use this form to update the customer's information.<br /> <br /> <table> <tr> <td>Customer ID:</td> <td> <asp:Label ID="lblCustomerID" runat="server" /> <input type="hidden" id="hidCustomerID" runat="server" /> </td> </tr> <tr> <td>Company Name:</td> <td> <asp:TextBox ID="txtCompanyName" runat="server" MaxLength="40" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtCompanyName" runat="server" ErrorMessage="Company name must be provided" /> </td> </tr> <tr> <td>Contact Name:</td> <td> <asp:TextBox ID="txtContactName" runat="server" MaxLength="30" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtContactName" runat="server" ErrorMessage="Company name must be provided" /> </td> </tr> <tr> <td align="center"><asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_OnClick" Text="Update" /></td> <td><asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_OnClick" Text="Cancel" CausesValidation="false" /></td> </tr> </table> <hr /> <h2>Customer Orders</h2> <asp:GridView ID="grdOrders" runat="server" />
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)