n.(be strong)
Value not being displayed on the page
showadress.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/guestmasterpage.Master" AutoEventWireup="true" CodeBehind="showadress.aspx.cs" Inherits="NoozhaRamputh21443mstore.tutorials.week5.showadress" %>
<%@ Register TagPrefix="uc" TagName="address" Src="~/tutorials/week5/addressform.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
html {
background-color: silver;
font: 14px Georgia,Serif;
}
.content {
background-color: white;
width: 600px;
margin: auto;
padding: 20px;
}
.addressLabel {
float: left;
width: 100px;
padding: 5px;
text-align: right;
}
.addressField {
float: left;
padding: 5px;
}
.clear {
clear: both;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" runat="server">
<div class="content">
<uc:address ID="addBilling" runat="server" />
<uc:address ID="addShipping" runat="server" />
<asp:Button
ID="btnSubmit"
OnClick="btnSubmit_Click"
Text="Submit Form"
runat="server" />
<hr />
<asp:Literal
ID="ltlResults"
runat="server" />
</div>
</asp:Content>
9 replies