|
<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="EditProduct.aspx.cs" Inherits="ASPNET_MVC_Store.Presentation.EditProduct" Title="Edit Product" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<form id="EditProductForm" runat="server">
<h2>
Edit
<asp:Label ID="ProductNameLabel" runat="server" Text="ProductNameLabel"></asp:Label></h2>
<p>
<table>
<tr>
<td>
Name:</td>
<td>
<asp:TextBox ID="NameTextBox" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>
Category:</td>
<td>
<asp:DropDownList ID="CategoryDropDownList" runat="server" AppendDataBoundItems="True"
Width="203px" DataTextField="CategoryName">
</asp:DropDownList></td>
</tr>
<tr>
<td>
Supplier:</td>
<td>
<asp:DropDownList ID="SupplierDropDownList" runat="server" AppendDataBoundItems="True"
Width="204px" DataTextField="CompanyName">
</asp:DropDownList></td>
</tr>
<tr>
<td>
Unit Price:</td>
<td>
<asp:TextBox ID="UnitPriceTextBox" runat="server"></asp:TextBox></td>
</tr>
</table>
</p>
<asp:Button ID="CommitButton" runat="server" Text="Save" OnClick="CommitButton_Click" />
</form>
</asp:Content>
|
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.
Oleg Zhukov, born and living in Russia is Lead Engineer and Project Manager in a company which provides business software solutions. He has graduated from Moscow Institute of Physics and Technology (MIPT) (department of system programming) and has got a M.S. degree in applied physics and mathematics. His research and development work concerns architectural patterns, domain-driven development and systems analysis. Being the adherent of agile methods he applies them extensively in the projects managed by him.