[%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="TestForUT1.WebForm1"%] [!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"] [HTML] [HEAD] [title]Test For UT[/title] [meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"] [meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1"] [meta name="vs_defaultClientScript" content="JavaScript"] [meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"] [/HEAD] [body] [form id="Form1" method="post" runat="server"] There will be a [asp:Label id="lblMeetingType" runat="server"]Label[/asp:Label] meeting on [asp:Label id="lblDay" runat="server"]Label[/asp:Label]. [/form] [/body] [/HTML]Here is the code behind.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not IsPostBack Then lblMeetingType.Text = "Special Fox" lblDay.Text = Now.AddDays(7).ToShortDateString End If End SubI hope this helps. I am sure it has to do with flowlayout/grid layout.
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams