Created
June 6, 2021 16:20
-
-
Save Defcoq/873fd59b0f58502a640a95a582922866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ItinnovDesign.SoC.WebUI._Default" %> | |
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> | |
<form id="form1" runat="server"> | |
<div> | |
<asp:DropDownList AutoPostBack="true" ID="ddlCustomerType" runat="server" > | |
<asp:ListItem Value="0">Standard</asp:ListItem> | |
<asp:ListItem Value="1">Trade</asp:ListItem> | |
</asp:DropDownList> | |
<asp:Label ID="lblErrorMessage" runat="server" ></asp:Label> | |
<asp:Repeater ID="rptProducts" runat="server" > | |
<HeaderTemplate> | |
<table> | |
<tr> | |
<td>Name</td> | |
<td>RRP</td> | |
<td>Selling Price</td> | |
<td>Discount</td> | |
<td>Savings</td> | |
</tr> | |
<tr> | |
<td colspan="5"><hr /></td> | |
</tr> | |
</HeaderTemplate> | |
<ItemTemplate> | |
<tr> | |
<td><%# Eval("Name") %></td> | |
<td><%# Eval("RRP")%></td> | |
<td><%# Eval("SellingPrice") %></td> | |
<td><%# Eval("Discount") %></td> | |
<td><%# Eval("Savings") %></td> | |
</tr> | |
</ItemTemplate> | |
<FooterTemplate> | |
</table> | |
</FooterTemplate> | |
</asp:Repeater> | |
</div> | |
</form> | |
</asp:Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment