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>
7 Replies
Please properly share your $code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/ok
i have alr post it it BlazeBin
I have no idea what you mean. I don't see a link.
how to copy the link from there
BlazeBin - epberbotozzv
A tool for sharing your source code with the world!
heree